babel-plugin-parameter-decorator icon indicating copy to clipboard operation
babel-plugin-parameter-decorator copied to clipboard

Function parameter decorator transform plugin for babel v7, just like typescript.

Results 10 babel-plugin-parameter-decorator issues
Sort by recently updated
recently updated
newest added

Bumps [json5](https://github.com/json5/json5) from 2.1.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

Hello, Firstly, thank you very much for this babel plugin. We're seeing the following exception on build ```ts function foo(target: Object) {} function bar(target: Object, propertyKey: string | symbol, parameterIndex:...

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

``` var binding = stmt.scope.getBinding(specifier.local.name); ``` It seems `binding` can sometimes be `undefined`. This occurred for me when `specifier.local.name` = `_jsxDEV`. Investigating further...

Better solution for babel parameter traverse. We had to deal with various different AST nodes after transpiled by babel presets, even some information were missing like `static/private`, so we are...

I have a class that looks like class CustomInstance { static uniqueEmail(email, @type(Database) database) { if (email != null && database.hasEmail(email)) { return `${email} is already taken`; } } }...

I have existing code that uses an alternate definition of a class as demonstrated below. function optional(target, methodName, paramIndex) {} const Hello = Base.extend({ greet(@optional name) {} }); When applying...

`function ClassDecorator() { return function (target) { console.log("I am class decorator"); }; } function MethodDecorator() { return function (target, methodName: string, descriptor: PropertyDescriptor) { console.log("I am method decorator"); }; }...