We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
isConst
isConst, variables, constants, flags
Expected isConst flag to be set when DeclarationReflection.kind is ReflectionKind.Variable.
DeclarationReflection.kind
ReflectionKind.Variable
The isConst is not set when the reflected item is a const.
const
export const TEST_CONST: string = "";
Console.log output of the DeclarationReflection:
DeclarationReflection
{ id: 1198, name: 'TEST_CONST', kind: 32, kindString: 'Variable', flags: {}, comment: { ... }, decorates: undefined, decorators: undefined, children: undefined, groups: undefined, categories: undefined, sources: [ { ... } ], typeParameter: undefined, type: { type: 'intrinsic', name: 'string' }, signatures: undefined, indexSignature: undefined, defaultValue: '""', overwrites: undefined, inheritedFrom: undefined, implementationOf: undefined, extendedTypes: undefined, extendedBy: undefined, implementedTypes: undefined, implementedBy: undefined, parentId: 1192 }
0.22.11
4.5.5
14.15.4
The text was updated successfully, but these errors were encountered:
Might be related to #1804 and #1810
Sorry, something went wrong.
038f2a8
No branches or pull requests
Search terms
isConst, variables, constants, flags
Expected Behavior
Expected
isConst
flag to be set whenDeclarationReflection.kind
isReflectionKind.Variable
.Actual Behavior
The
isConst
is not set when the reflected item is aconst
.Steps to reproduce the bug
Console.log output of the
DeclarationReflection
:Environment
0.22.11
4.5.5
14.15.4
The text was updated successfully, but these errors were encountered: