-
### Clear and concise description of the problem
- `multipleOf`
- `uniqueItems`
- `maxProperties`
- `minProperties`
-
## Expected Behavior
I expect to implement unit test and unit tests to pass without errors.
## Current Behavior
I got this error "Decorators cannot be used to decorate parameters" when implem…
-
Consider this syntactically correct code:
```typescript
@injectable()
class Sample {
@inject(InjectionTypes.Dependency) // where IT.D is actually a class
dependency: number;
}
```
…
-
## Description
Write a parser to read through the controller definitions, look for `@Query()` and `@Body()` decorators in function signature and generate corresponding swagger decorators like `@Api…
-
I'm using the draper gem in my application which stores decorators in `app/decorators`. Now spina gave me the warning:
> using app/decorators is deprecated in favor of app/overrides. Read more abou…
-
Is it possible to use this library without decorators?
I see some APIs using decorators. Reluctant to use decorators due to lack of standardization of semantics.
Is it possible to use library with…
-
200sc updated
3 months ago
-
### Decorators
A **Decorator** is a tool to wrap (extend/change/modify) the behavior of one or more existing functions without modifying their code.
There are many cases when _**we want to handl…
-
The example from the docs:
```ts
import {memoizeDecorator} from 'memoize';
class Example {
index = 0
@memoizeDecorator()
counter() {
return ++this.index;
}
}
```
returns the follo…
jwbth updated
1 month ago
-
### 💻
- [ ] Would you like to work on a fix?
### How are you using Babel?
@babel/cli
### Input code
```js
function decorator(Class, { name, metadata }) {
metadata.decorated = name;
…