BVB Source Codes

prettier Show last-arg.js Source code

Return Download prettier: download last-arg.js Source code - Download prettier Source code - Type:.js
  1. type f = (
  2.   currentRequest: {a: number},
  3.   // TODO this is a very very very very long comment that makes it go > 80 columns
  4. ) => number;
  5.  
  6. f = (
  7.   currentRequest: {a: number},
  8.   // TODO this is a very very very very long comment that makes it go > 80 columns
  9. ): number => {};
  10.  
  11. f = (
  12.   currentRequest: {a: number},
  13.   // TODO this is a very very very very long comment that makes it go > 80 columns
  14. ) => {};
  15.  
  16. f = function(
  17.   currentRequest: {a: number},
  18.   // TODO this is a very very very very long comment that makes it go > 80 columns
  19. ) {};
  20.  
  21. class X {
  22.   f(
  23.     currentRequest: {a: number},
  24.     // TODO this is a very very very very long comment that makes it go > 80 columns
  25.   ) {}
  26. }
  27.  
  28. function f(
  29.   a: number
  30. // some comment here
  31. ): number {
  32.   return a + 1;
  33. }
  34.  
  35. var x = {
  36.   getSectionMode(
  37.     pageMetaData: PageMetaData,
  38.     sectionMetaData: SectionMetaData
  39.     /* $FlowFixMe This error was exposed while converting keyMirror
  40.      * to keyMirrorRecursive */
  41.   ): $Enum<SectionMode> {
  42.   }
  43. }
  44.  
  45. class X {
  46.   getSectionMode(
  47.     pageMetaData: PageMetaData,
  48.     sectionMetaData: SectionMetaData = ['unknown']
  49.     /* $FlowFixMe This error was exposed while converting keyMirror
  50.      * to keyMirrorRecursive */
  51.   ): $Enum<SectionMode> {
  52.   }
  53. }
  54.  
  55. class Foo {
  56.   a(lol /*string*/) {}
  57.  
  58.   b(lol /*string*/
  59.   ) {}
  60.  
  61.   d(
  62.     lol /*string*/,
  63.     lol2 /*string*/,
  64.     lol3 /*string*/,
  65.     lol4 /*string*/
  66.   ) {}
  67.  
  68.   d(
  69.     lol /*string*/,
  70.     lol2 /*string*/,
  71.     lol3 /*string*/,
  72.     lol4 /*string*/
  73.   ) /*string*/ {}
  74.  
  75.   // prettier-ignore
  76.   c(lol /*string*/
  77.   ) {}
  78.  
  79.   // prettier-ignore
  80.   d(
  81.     lol /*string*/,
  82.     lol2 /*string*/,
  83.     lol3 /*string*/,
  84.     lol4 /*string*/
  85.   ) {}
  86.  
  87.   // prettier-ignore
  88.   e(
  89.     lol /*string*/,
  90.     lol2 /*string*/,
  91.     lol3 /*string*/,
  92.     lol4 /*string*/
  93.   ) {} /* string*/
  94. }
  95.  
downloadlast-arg.js Source code - Download prettier Source code
Related Source Codes/Software:
storybook - 2017-06-07
ionicons - The premium icon font for Ionic ... 2017-06-07
AsyncDisplayKit - Smooth asynchronous user interfaces for iOS apps. ... 2017-06-07
lottie-android - Render After Effects animations natively on Androi... 2017-06-07
parse-server - Parse-compatible API server module for Node/Expres... 2017-06-07
inferno - An extremely fast, React-like JavaScript library f... 2017-06-08
guetzli - Perceptual JPEG encoder 2017-06-08
cs-video-courses - List of Computer Science courses with video lectur... 2017-06-08
interviews - Everything you need to know to get the job. 2017-06-08
prepack - Prepack is a partial evaluator for JavaScript. Pre... 2017-06-08
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top