-
Use decorators on create/add actions in datagrok tools instead of comments
-
The example from the docs:
```ts
import {memoizeDecorator} from 'memoize';
class Example {
index = 0
@memoizeDecorator()
counter() {
return ++this.index;
}
}
```
returns the follo…
jwbth updated
2 weeks ago
-
### What version of Bun is running?
v0.7.3
### What platform is your computer?
Linux 5.19.0-50-generic x86_64 x86_64
### What steps can reproduce the bug?
package.json
```json
{
"name": "bun…
-
Considering a simple TS file like `src/main.ts`
```typescript
function Foo(constructorFunction: Function) {
console.log('Foo decorator')
}
@Foo
class Main {
constructor() {
console…
-
ESBuild seems planning to support decorators (https://github.com/evanw/esbuild/issues/104) but it is not landed as the spec is experimental itself.
We shall use SWC to have experimental support fo…
-
### What are you trying to do?
Currently, the TypeScript SDK uses experimental decorators which are considered deprecated. TypeScript has provided support for standard ECMAScript decorators since [ve…
-
### Demo Repo
https://github.com/jkrems/ts-imports-emit
### Which of the following problems are you reporting?
Something else more complicated which I'll explain in more detail
### Demonst…
-
Outcomes
- [x] what is a decorator?
A way to modify classes and class members. Provides annotations / meta-programming syntax for classes and class members (accessor, property, or parameter). It i…
-
### Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
### Provide environment information
```bash
Operating System:
Platform: darwin
Ar…
-
### Feature Description
In TypeScript 5.0 decorators will be changed, but it will become stable feature (https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/).
Are you going …