Skip to content

Commit

Permalink
Change is static value to number instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
aedart committed May 10, 2023
1 parent 31bec90 commit 55b4705
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/support/src/reflections/reflect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export function reflect()
}

// Create a key for given target
const isStatic: string = (context.kind !== 'class' && context.static)
? 's' // static element
: 'n'; // non-static element
const isStatic: number = (context.kind !== 'class' && context.static)
? 1 // static element
: 0; // non-static element

const key: Key = [
META_REFLECTIONS,
Expand Down

0 comments on commit 55b4705

Please sign in to comment.