Merge branch 'master' of https://github.com/CodeMeAPixel/LuaTS #3
Annotations
10 errors
|
error: expect(received).toContain(expected):
test/types.test.ts#L189
Expected to contain: "name: string;"
Received: ""
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/types.test.ts:189:33)
|
|
error: expect(received).toContain(expected):
test/types.test.ts#L172
Expected to contain: "interface IUser"
Received: ""
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/types.test.ts:172:19)
|
|
error: expect(received).toContain(expected):
test/types.test.ts#L160
Expected to contain: "value: unknown"
Received: ""
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/types.test.ts:160:19)
|
|
error: expect(received).toContain(expected):
test/types.test.ts#L92
Expected to contain: "type MathFunction = (a: number, b: number, operation: string) => number"
Received: "type MathFunction = (a: number, b: number, operation: string) => any;"
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/types.test.ts:92:19)
|
|
error: Unexpected token in type::
dist/index.js#L7807
at parsePrimaryType (/home/runner/work/LuaTS/LuaTS/dist/index.js:7807:69)
at parseIntersectionType (/home/runner/work/LuaTS/LuaTS/dist/index.js:7644:21)
at parseUnionType (/home/runner/work/LuaTS/LuaTS/dist/index.js:7629:21)
at typeAliasDeclaration (/home/runner/work/LuaTS/LuaTS/dist/index.js:7585:29)
at parse (/home/runner/work/LuaTS/LuaTS/dist/index.js:7535:27)
at generateTypes (/home/runner/work/LuaTS/LuaTS/dist/index.js:8925:22)
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/types.test.ts:80:19)
|
|
error: expect(received).toBeGreaterThan(expected):
test/features.test.ts#L228
Expected: > 0
Received: 0
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/features.test.ts:228:34)
|
|
error: expect(received).toContain(expected):
test/features.test.ts#L204
Expected to contain: "/**"
Received: "interface User {\n id: number;\n name: string;\n}"
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/features.test.ts:204:19)
|
|
error: expect(received).toContain(expected):
test/features.test.ts#L187
Expected to contain: "/** This is a user type */"
Received: "interface User {\n id: number;\n name: string;\n}"
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/features.test.ts:187:19)
|
|
ParseError: Expected '}' after table type:
dist/index.js#L7840
at consume (/home/runner/work/LuaTS/LuaTS/dist/index.js:7840:46)
at parsePrimaryType (/home/runner/work/LuaTS/LuaTS/dist/index.js:7795:12)
at parseIntersectionType (/home/runner/work/LuaTS/LuaTS/dist/index.js:7644:21)
at parseUnionType (/home/runner/work/LuaTS/LuaTS/dist/index.js:7629:21)
at typeAliasDeclaration (/home/runner/work/LuaTS/LuaTS/dist/index.js:7585:29)
at parse (/home/runner/work/LuaTS/LuaTS/dist/index.js:7535:27)
at generateTypes (/home/runner/work/LuaTS/LuaTS/dist/index.js:8925:22)
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/features.test.ts:159:19)
|
|
error: expect(received).toContain(expected):
test/features.test.ts#L149
Expected to contain: "type Handler = (message: string) => boolean"
Received: "type Handler = (message: string) => any;"
at <anonymous> (/home/runner/work/LuaTS/LuaTS/test/features.test.ts:149:19)
|