Skip to content

Commit 3ae12cc

Browse files
committed
updates
1 parent 80c24ab commit 3ae12cc

26 files changed

Lines changed: 192 additions & 220 deletions

deno.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"fmt": {
2323
"lineWidth": 240,
24-
"semiColons": false
24+
"semiColons": false,
25+
"singleQuote": true
2526
},
2627
"compilerOptions": {
2728
"strict": true

src/compile/common/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ THE SOFTWARE.
2626
2727
---------------------------------------------------------------------------*/
2828

29-
export * from "./comment.ts"
30-
export * from "./escape.ts"
31-
export * from "./infer.ts"
32-
export * from "./unreachable.ts"
29+
export * from './comment.ts'
30+
export * from './escape.ts'
31+
export * from './infer.ts'
32+
export * from './unreachable.ts'

src/compile/func/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ THE SOFTWARE.
2626
2727
---------------------------------------------------------------------------*/
2828

29-
export * from "./func.ts"
30-
export * from "./map.ts"
29+
export * from './func.ts'
30+
export * from './map.ts'

src/compile/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ THE SOFTWARE.
2626
2727
---------------------------------------------------------------------------*/
2828

29-
export * as Compile from "./compile.ts"
30-
export * from "./options.ts"
29+
export * as Compile from './compile.ts'
30+
export * from './options.ts'

src/compile/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface Options {
3939
/** Default Compiler Options */
4040
export function DefaultOptions(): Options {
4141
return {
42-
mappingPath: "./mapping",
42+
mappingPath: './mapping',
4343
mappingImports: [],
4444
parserImports: [],
4545
}

src/compile/type/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ THE SOFTWARE.
2626
2727
---------------------------------------------------------------------------*/
2828

29-
export * from "./type.ts"
30-
export * from "./map.ts"
29+
export * from './type.ts'
30+
export * from './map.ts'

src/guard/guard.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export function IsAsyncIterator(value: unknown): value is AsyncIterableIterator<
3939
}
4040
/** Returns true if this value is bigint */
4141
export function IsBigInt(value: unknown): value is bigint {
42-
return IsEqual(typeof value, "bigint")
42+
return IsEqual(typeof value, 'bigint')
4343
}
4444
/** Returns true if this value is a boolean */
4545
export function IsBoolean(value: unknown): value is boolean {
46-
return IsEqual(typeof value, "boolean")
46+
return IsEqual(typeof value, 'boolean')
4747
}
4848
/** Returns true if this value is a constructor */
4949
export function IsConstructor(value: unknown): value is new (...args: never[]) => unknown {
@@ -55,7 +55,7 @@ export function IsConstructor(value: unknown): value is new (...args: never[]) =
5555
}
5656
/** Returns true if this value is a function */
5757
export function IsFunction(value: unknown): value is Function {
58-
return IsEqual(typeof value, "function")
58+
return IsEqual(typeof value, 'function')
5959
}
6060
/** Returns true if this value is integer */
6161
export function IsInteger(value: unknown): value is number {
@@ -79,15 +79,15 @@ export function IsObjectNotArray(value: unknown): value is Record<PropertyKey, u
7979
}
8080
/** Returns true if this value is an object */
8181
export function IsObject(value: unknown): value is Record<PropertyKey, unknown> {
82-
return IsEqual(typeof value, "object") && !(IsNull(value))
82+
return IsEqual(typeof value, 'object') && !(IsNull(value))
8383
}
8484
/** Returns true if this value is string */
8585
export function IsString(value: unknown): value is string {
86-
return IsEqual(typeof value, "string")
86+
return IsEqual(typeof value, 'string')
8787
}
8888
/** Returns true if this value is symbol */
8989
export function IsSymbol(value: unknown): value is symbol {
90-
return IsEqual(typeof value, "symbol")
90+
return IsEqual(typeof value, 'symbol')
9191
}
9292
/** Returns true if this value is undefined */
9393
export function IsUndefined(value: unknown): value is undefined {

src/guard/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ THE SOFTWARE.
2626
2727
---------------------------------------------------------------------------*/
2828

29-
export * as Guard from "./guard.ts"
29+
export * as Guard from './guard.ts'

src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ THE SOFTWARE.
2626
2727
---------------------------------------------------------------------------*/
2828

29-
export * from "./compile/index.ts"
30-
export * from "./runtime/index.ts"
31-
export * from "./static/index.ts"
32-
export * from "./token/index.ts"
29+
export * from './compile/index.ts'
30+
export * from './runtime/index.ts'
31+
export * from './static/index.ts'
32+
export * from './token/index.ts'

src/runtime/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ THE SOFTWARE.
2626
2727
---------------------------------------------------------------------------*/
2828

29-
export * as Runtime from "./runtime.ts"
29+
export * as Runtime from './runtime.ts'

0 commit comments

Comments
 (0)