Commit f01bc16
authored
typings: add typing for permission binding
Add type declarations for the `permission` internalBinding so
lib/internal/process/permission.js gets editor autocomplete and
type checking for `has()` and `drop()`.
Signed-off-by: seungmin Nam <nhjbest22@g.skku.edu>
PR-URL: #65385
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 6fa4968 commit f01bc16
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments