Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ast/Nodes/Guards.d.ts has several errors #18

Open
railworks2 opened this issue Aug 5, 2022 · 0 comments
Open

Ast/Nodes/Guards.d.ts has several errors #18

railworks2 opened this issue Aug 5, 2022 · 0 comments

Comments

@railworks2
Copy link

node_modules/@rbxts/zirconium/out/Ast/Nodes/Guards.d.ts:14:79 - error TS2538: Type 'any' cannot be used as an index type.
14 export declare function isPrefixableExpression(node: Node): node is NodeTypes[typeof PREFIXABLE[number]];

node_modules/@rbxts/zirconium/out/Ast/Nodes/Guards.d.ts:14:86 - error TS2304: Cannot find name 'PREFIXABLE'.
14 export declare function isPrefixableExpression(node: Node): node is NodeTypes[typeof PREFIXABLE[number]];

node_modules/@rbxts/zirconium/out/Ast/Nodes/Guards.d.ts:15:54 - error TS2538: Type 'any' cannot be used as an index type.
15 export declare type AssignableExpression = NodeTypes[typeof ASSIGNABLE[number]];

node_modules/@rbxts/zirconium/out/Ast/Nodes/Guards.d.ts:15:61 - error TS2304: Cannot find name 'ASSIGNABLE'.
15 export declare type AssignableExpression = NodeTypes[typeof ASSIGNABLE[number]];

node_modules/@rbxts/zirconium/out/Ast/Nodes/Guards.d.ts:20:51 - error TS2538: Type 'any' cannot be used as an index type.
20 export declare type LiteralExpression = NodeTypes[typeof LIT[number]];

node_modules/@rbxts/zirconium/out/Ast/Nodes/Guards.d.ts:20:58 - error TS2304: Cannot find name 'LIT'.
20 export declare type LiteralExpression = NodeTypes[typeof LIT[number]];

node_modules/@rbxts/zirconium/out/Ast/Nodes/NodeTypes.d.ts:3:10 - error TS2305: Module '"./Guards"' has no exported member 'ASSIGNABLE'.
3 import { ASSIGNABLE } from "./Guards";

node_modules/@rbxts/zirconium/out/Ast/Nodes/NodeTypes.d.ts:220:54 - error TS2538: Type 'any' cannot be used as an index type.
220 export declare type AssignableExpression = NodeTypes[typeof ASSIGNABLE[number]];

Typedocs hates you, hopefully you know how to resolve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant