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
const decorator = constructDecorator( (targetType: unknown, target: any, age: number) => { if (targetType === CLASS) { return 'foo' } return }, ) @decorator(100) class Foo { }
should throw something like
new Error('Decorator: class decorator should return a class')
The text was updated successfully, but these errors were encountered:
This happens at runtime, so let the engine handle it.
Sorry, something went wrong.
No branches or pull requests
should throw something like
The text was updated successfully, but these errors were encountered: