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
Bug
The enums in widgets that use the keyword const in their declaration are not transpiled correctly.
enums
const
Removing the const keyword ensures that they are correctly transpiled.
Example Enum declarations:
// This does not transpile correctly export const enum BrokenEnum { a = 0 } // transpiles correctly export enum CorrectEnum { a = 0 }
Transpiled output (missing BrokenEnum):
BrokenEnum
define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var CorrectEnum; (function (CorrectEnum) { CorrectEnum[CorrectEnum["a"] = 0] = "a"; })(CorrectEnum = exports.CorrectEnum || (exports.CorrectEnum = {})); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug
The
enums
in widgets that use the keywordconst
in their declaration are not transpiled correctly.Removing the
const
keyword ensures that they are correctly transpiled.Example Enum declarations:
Transpiled output (missing
BrokenEnum
):The text was updated successfully, but these errors were encountered: