typings: add typing for permission binding · nodejs/node@a1ae3dd · GitHub
Skip to content

Commit a1ae3dd

Browse files
nhjbest22aduh95
authored andcommitted
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 c4b390c commit a1ae3dd

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎typings/globals.d.ts‎

Lines changed: 2 additions & 0 deletions
Lines changed: 6 additions & 0 deletions

0 commit comments

Comments
 (0)