|
| 1 | +Exit Code: 1 |
| 2 | +Standard output: |
| 3 | +index.js(3,25): error TS2307: Cannot find module './package.json'. |
| 4 | +index.js(138,21): error TS2532: Object is possibly 'undefined'. |
| 5 | +src/cli/util.js(262,64): error TS2339: Property 'length' does not exist on type 'Ignore'. |
| 6 | +src/cli/util.js(335,52): error TS2339: Property 'length' does not exist on type 'Ignore'. |
| 7 | +src/cli/util.js(396,46): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'. |
| 8 | +src/cli/util.js(403,39): error TS2339: Property 'grey' does not exist on type 'typeof import("/home/nathansa/ts/node_modules/chalk/types/index")'. |
| 9 | +src/common/parser-create-error.js(8,9): error TS2339: Property 'loc' does not exist on type 'SyntaxError'. |
| 10 | +src/config/resolve-config.js(75,32): error TS2345: Argument of type '{ sync: false; }' is not assignable to parameter of type '{ cache: boolean; sync: boolean; }'. |
| 11 | + Property 'cache' is missing in type '{ sync: false; }'. |
| 12 | +src/config/resolve-config.js(82,32): error TS2345: Argument of type '{ sync: true; }' is not assignable to parameter of type '{ cache: boolean; sync: boolean; }'. |
| 13 | + Property 'cache' is missing in type '{ sync: true; }'. |
| 14 | +src/doc/doc-printer.js(213,17): error TS2532: Object is possibly 'undefined'. |
| 15 | +src/doc/doc-printer.js(214,18): error TS2532: Object is possibly 'undefined'. |
| 16 | +src/doc/doc-printer.js(215,17): error TS2532: Object is possibly 'undefined'. |
| 17 | +src/language-css/clean.js(3,30): error TS2307: Cannot find module 'html-tag-names'. |
| 18 | +src/language-css/parser-postcss.js(78,32): error TS2345: Argument of type '{ [x: string]: any; groups: never[]; type: string; }' is not assignable to parameter of type 'never'. |
| 19 | +src/language-css/parser-postcss.js(88,30): error TS2345: Argument of type '{ [x: string]: any; open: null; close: null; groups: never[]; type: string; }' is not assignable to parameter of type 'never'. |
| 20 | +src/language-css/parser-postcss.js(93,30): error TS2345: Argument of type '{ [x: string]: any; groups: never[]; type: string; }' is not assignable to parameter of type 'never'. |
| 21 | +src/language-css/parser-postcss.js(100,30): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. |
| 22 | +src/language-css/parser-postcss.js(104,28): error TS2345: Argument of type '{ [x: string]: any; groups: never[]; type: string; }' is not assignable to parameter of type 'never'. |
| 23 | +src/language-css/parser-postcss.js(407,32): error TS2531: Object is possibly 'null'. |
| 24 | +src/language-css/printer-postcss.js(3,30): error TS2307: Cannot find module 'html-tag-names'. |
| 25 | +src/language-handlebars/parser-glimmer.js(27,26): error TS2345: Argument of type '{ plugins: { ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): voi...' is not assignable to parameter of type 'PreprocessOptions | undefined'. |
| 26 | + Type '{ plugins: { ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): voi...' is not assignable to type 'PreprocessOptions'. |
| 27 | + Types of property 'plugins' are incompatible. |
| 28 | + Type '{ ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementN...' is not assignable to type '{ ast?: ASTPluginBuilder[] | undefined; } | undefined'. |
| 29 | + Type '{ ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementN...' is not assignable to type '{ ast?: ASTPluginBuilder[] | undefined; }'. |
| 30 | + Types of property 'ast' are incompatible. |
| 31 | + Type '(() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(nod...' is not assignable to type 'ASTPluginBuilder[] | undefined'. |
| 32 | + Type '(() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(nod...' is not assignable to type 'ASTPluginBuilder[]'. |
| 33 | + Type '() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(node...' is not assignable to type 'ASTPluginBuilder'. |
| 34 | + Type '{ [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(node: any)...' is not assignable to type 'ASTPlugin'. |
| 35 | + Property 'name' is missing in type '{ [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(node: any)...'. |
| 36 | +src/language-handlebars/printer-glimmer.js(270,7): error TS2554: Expected 0-1 arguments, but got 2. |
| 37 | +src/language-js/printer-estree.js(99,9): error TS2322: Type '{ [x: string]: any; type: string; }' is not assignable to type '{ [x: string]: any; type: string; parts: any; }'. |
| 38 | + Property 'parts' is missing in type '{ [x: string]: any; type: string; }'. |
| 39 | +src/language-js/printer-estree.js(302,9): error TS2345: Argument of type '{ [x: string]: any; type: string; parts: any; } | { [x: string]: any; type: string; contents: any...' is not assignable to parameter of type 'ConcatArray<never>'. |
| 40 | + Type '{ [x: string]: any; type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'. |
| 41 | + Property 'length' is missing in type '{ [x: string]: any; type: string; parts: any; }'. |
| 42 | +src/language-js/printer-estree.js(1224,28): error TS2345: Argument of type '{ [x: string]: any; type: string; parts: any; }' is not assignable to parameter of type 'string | ConcatArray<string>'. |
| 43 | + Type '{ [x: string]: any; type: string; parts: any; }' is not assignable to type 'ConcatArray<string>'. |
| 44 | + Property 'length' is missing in type '{ [x: string]: any; type: string; parts: any; }'. |
| 45 | +src/language-js/printer-estree.js(1601,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ [x: string]: any; type: string; contents: any; break: boolean; expandedStates: any; }'. |
| 46 | +src/language-js/printer-estree.js(1603,20): error TS2345: Argument of type '{ [x: string]: any; type: string; parts: any; }' is not assignable to parameter of type '{ [x: string]: any; type: string; contents: any; break: boolean; expandedStates: any; }'. |
| 47 | + Property 'contents' is missing in type '{ [x: string]: any; type: string; parts: any; }'. |
| 48 | +src/language-js/printer-estree.js(1605,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ [x: string]: any; type: string; contents: any; break: boolean; expandedStates: any; }'. |
| 49 | +src/language-js/printer-estree.js(1614,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ [x: string]: any; type: string; contents: any; break: boolean; expandedStates: any; }'. |
| 50 | +src/language-js/printer-estree.js(3293,23): error TS2532: Object is possibly 'undefined'. |
| 51 | +src/language-js/printer-estree.js(3294,24): error TS2532: Object is possibly 'undefined'. |
| 52 | +src/language-js/printer-estree.js(3647,5): error TS2345: Argument of type '"" | { [x: string]: any; type: string; parts: any; } | { [x: string]: any; type: string; contents...' is not assignable to parameter of type 'string'. |
| 53 | + Type '{ [x: string]: any; type: string; parts: any; }' is not assignable to type 'string'. |
| 54 | +src/language-js/printer-estree.js(3651,16): error TS2345: Argument of type '{ [x: string]: any; type: string; parts: any; }' is not assignable to parameter of type 'string'. |
| 55 | +src/language-js/printer-estree.js(3693,9): error TS2345: Argument of type '{ [x: string]: any; type: string; parts: any; }' is not assignable to parameter of type 'string'. |
| 56 | +src/language-js/printer-estree.js(3995,14): error TS2554: Expected 0-2 arguments, but got 3. |
| 57 | +src/language-js/printer-estree.js(5034,9): error TS2554: Expected 0-1 arguments, but got 2. |
| 58 | +src/language-js/printer-estree.js(5070,7): error TS2345: Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'. |
| 59 | + Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'. |
| 60 | + Types of property 'slice' are incompatible. |
| 61 | + Type '(start?: number | undefined, end?: number | undefined) => (string | number)[]' is not assignable to type '(start?: number | undefined, end?: number | undefined) => ((childPath: any) => any)[]'. |
| 62 | + Type '(string | number)[]' is not assignable to type '((childPath: any) => any)[]'. |
| 63 | + Type 'string | number' is not assignable to type '(childPath: any) => any'. |
| 64 | + Type 'string' is not assignable to type '(childPath: any) => any'. |
| 65 | +src/language-markdown/printer-markdown.js(258,18): error TS2532: Object is possibly 'undefined'. |
| 66 | +src/language-markdown/printer-markdown.js(259,17): error TS2532: Object is possibly 'undefined'. |
| 67 | +src/language-markdown/printer-markdown.js(283,14): error TS2532: Object is possibly 'undefined'. |
| 68 | +src/language-vue/parser-vue.js(54,23): error TS2345: Argument of type '(m: string, g: any) => void' is not assignable to parameter of type '(substring: string, ...args: any[]) => string'. |
| 69 | + Type 'void' is not assignable to type 'string'. |
| 70 | +src/language-vue/parser-vue.js(180,34): error TS2339: Property 'toLowerCase' does not exist on type 'never'. |
| 71 | +src/language-vue/parser-vue.js(244,26): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. |
| 72 | +src/language-vue/parser-vue.js(393,25): error TS2345: Argument of type '{ [x: string]: any; tag: any; attrs: any; unary: any; start: any; children: never[]; }' is not assignable to parameter of type 'never'. |
| 73 | +src/language-vue/parser-vue.js(398,23): error TS2345: Argument of type '{ [x: string]: any; tag: any; attrs: any; unary: any; start: any; children: never[]; }' is not assignable to parameter of type '{ [x: string]: any; tag: string; attrs: never[]; unary: boolean; start: number; contentStart: num...'. |
| 74 | + Property 'contentStart' is missing in type '{ [x: string]: any; tag: any; attrs: any; unary: any; start: any; children: never[]; }'. |
| 75 | +src/language-vue/parser-vue.js(399,9): error TS2322: Type '{ [x: string]: any; tag: any; attrs: any; unary: any; start: any; children: never[]; }' is not assignable to type '{ [x: string]: any; tag: string; attrs: never[]; unary: boolean; start: number; contentStart: num...'. |
| 76 | +src/main/core-options.js(51,43): error TS1005: '}' expected. |
| 77 | +src/main/core-options.js(63,5): error TS2322: Type '{ cursorOffset: { since: string; category: string; type: "int"; default: number; range: { start: ...' is not assignable to type '{ [name: string]: { since: string; category: string; type: "boolean" | "path" | "int" | "choice";...'. |
| 78 | + Property 'cursorOffset' is incompatible with index signature. |
| 79 | + Type '{ since: string; category: string; type: "int"; default: number; range: { start: number; end: num...' is not assignable to type '{ since: string; category: string; type: "boolean" | "path" | "int" | "choice"; array: boolean; d...'. |
| 80 | + Object literal may only specify known properties, and 'cliCategory' does not exist in type '{ since: string; category: string; type: "boolean" | "path" | "int" | "choice"; array: boolean; d...'. |
| 81 | +src/main/parser.js(61,9): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType<any>'. |
| 82 | + Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType<any>'. |
| 83 | + Type 'undefined' is not assignable to type 'PropertyDescriptor'. |
| 84 | +src/main/support.js(5,32): error TS2307: Cannot find module '../../package.json'. |
| 85 | +src/main/support.js(36,24): error TS2339: Property 'name' does not exist on type 'never'. |
| 86 | +src/main/support.js(36,35): error TS2339: Property 'name' does not exist on type 'never'. |
| 87 | +src/main/support.js(36,48): error TS2339: Property 'name' does not exist on type 'never'. |
| 88 | +src/main/support.js(36,57): error TS2339: Property 'name' does not exist on type 'never'. |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | +Standard error: |
0 commit comments