-
Like all imports are found in the project_handler module, we need to find all decorators in the project.
-
Version: Deno 1.41.3
```ts
function FieldDec(_: undefined, context: ClassFieldDecoratorContext) {
const name = context.name;
context.addInitializer(function () {
// Will never be call…
yishn updated
1 month ago
-
### Feature Description
I'm keen in keeping up my codebase modern, well maintained and doesn't want to be left out.
Now that decorators are a real thing with Typescript 5.0. It is finally the time…
-
### Description
There are two string length check decorators: `@MinLength` and `@MaxLength`.
Additionally, there is a string decorator `@Length(min, max)` which checks if string length is in range b…
-
The decorators capture their secrets at import time, and do not re-get their secrets when the target function is called. So the cache logic doesn't have a chance to run again, and the values stay pot…
-
Currently, `lsp.type.decorator` can be overwritten by a couple lsp tokens, for example `@classmethod` is overwritten by:
- `lsp.type.class`
- `lsp.mod.builtin`
- `lsp.mod.defaultLibrary`
- `lsp…
-
**Bug Report**
Stubgen generates `mypy-replace` method which makes `.pyi` file invalid.
**To Reproduce**
Minimum example, truncated from Home Assistant codebase:
```python
from typi…
KapJI updated
4 hours ago
-
```ts
@decorator
export class Foo {}
export @decorator class Foo {}
```
These are both valid syntax in the spec https://github.com/tc39/proposal-decorators?tab=readme-ov-file#syntax
> Clas…
-
I think we should start using property decorators, as it would make alot of the code more readable.
- [ ] #169
-
### Which scope/s are relevant/related to the feature request?
separator
### Information
Migrate away from all Input/Output and View Decorators
### Describe any alternatives/workarounds you're cur…