mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 08:00:02 -04:00
add lint command, lint and lint:fix project
This commit is contained in:
parent
430c7ad6ec
commit
93b609932d
23 changed files with 36916 additions and 25 deletions
|
@ -1,8 +1,9 @@
|
|||
export function getOwnPropertyDescriptorHandler(target, prop) {
|
||||
let realDescriptor = Reflect.getOwnPropertyDescriptor(target, prop);
|
||||
const realDescriptor = Reflect.getOwnPropertyDescriptor(target, prop);
|
||||
|
||||
return realDescriptor;
|
||||
|
||||
let d: PropertyDescriptor = {};
|
||||
const d: PropertyDescriptor = {};
|
||||
|
||||
if (realDescriptor.enumerable !== undefined)
|
||||
d.enumerable = realDescriptor.enumerable;
|
||||
|
@ -22,5 +23,6 @@ export function getOwnPropertyDescriptorHandler(target, prop) {
|
|||
if (realDescriptor.value) {
|
||||
d.value = this.get(target, prop);
|
||||
}
|
||||
|
||||
return d;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue