mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
docs(decorator): edit decorator
This commit is contained in:
parent
c1f76b024d
commit
65d6aff64c
@ -430,7 +430,7 @@ person.facepalmHarder();
|
||||
|
||||
**(5)@suppressWarnings**
|
||||
|
||||
`suppressWarnings`修饰器抑制`decorated`修饰器导致的`console.warn()`调用。但是,异步代码发出的调用除外。
|
||||
`suppressWarnings`修饰器抑制`deprecated`修饰器导致的`console.warn()`调用。但是,异步代码发出的调用除外。
|
||||
|
||||
```javascript
|
||||
import { suppressWarnings } from 'core-decorators';
|
||||
|
Loading…
x
Reference in New Issue
Block a user