Skip to content

Commit 47851ca

Browse files
committed
YAGNI
1 parent 8f6f077 commit 47851ca

File tree

1 file changed

+1
-3
lines changed
  • packages/svelte/src/compiler/phases

1 file changed

+1
-3
lines changed

packages/svelte/src/compiler/phases/scope.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ const UNKNOWN = Symbol('unknown');
2020
/** Includes `BigInt` */
2121
export const NUMBER = Symbol('number');
2222
export const STRING = Symbol('string');
23-
/** Used for when you need to add `true` and `false` to the values, but can't do it for whatever reason */
24-
const BOOLEAN = Symbol('boolean');
2523

26-
/** @type {Record<string, [type: NUMBER | STRING | UNKNOWN | BOOLEAN, fn?: Function]} */
24+
/** @type {Record<string, [type: NUMBER | STRING | UNKNOWN, fn?: Function]>} */
2725
const globals = {
2826
BigInt: [NUMBER, BigInt],
2927
'Math.min': [NUMBER, Math.min],

0 commit comments

Comments
 (0)