Should createTypeAliasDeclaration have decorators/modifiers arguments? #15918
Labels
API
Relates to the public API for TypeScript
Bug
A bug in TypeScript
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Milestone
TypeScript Version: nightly (2.4.0-dev.20170517)
Code
Expected behavior:
Should be able to add an export modifier to the node.
Actual behavior:
This API doesn't seem to have the same signature as
createInterfaceDeclaration
orcreateEnumDeclaration
, etc. Should it havedecorators
andmodifiers
parameters like the other APIs?I'm willing to send a PR if so.
The text was updated successfully, but these errors were encountered: