-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f0cbb0
commit baeb6b7
Showing
11 changed files
with
1,030 additions
and
996 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import { IStringList } from './types/list.js'; | ||
export declare function stringList< | ||
TT extends readonly string[] = readonly never[], | ||
>(...strings: TT): StringLiteralList.list.IStringList<TT, false, false>; | ||
|
||
export function stringList<TT extends readonly string[] = readonly never[]>( | ||
export declare function sl<TT extends readonly string[] = readonly never[]>( | ||
...strings: TT | ||
): IStringList<TT, false, false>; | ||
|
||
export function sl<TT extends readonly string[] = readonly never[]>( | ||
...strings: TT | ||
): IStringList<TT, false, false>; | ||
): StringLiteralList.list.IStringList<TT, false, false>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import { IStringList } from './types/list.js'; | ||
export declare function stringList< | ||
TT extends readonly string[] = readonly never[], | ||
>(...strings: TT): StringLiteralList.list.IStringList<TT, true, false>; | ||
|
||
export function stringList<TT extends readonly string[] = readonly never[]>( | ||
export declare function sl<TT extends readonly string[] = readonly never[]>( | ||
...strings: TT | ||
): IStringList<TT, true, false>; | ||
|
||
export function sl<TT extends readonly string[] = readonly never[]>( | ||
...strings: TT | ||
): IStringList<TT, true, false>; | ||
): StringLiteralList.list.IStringList<TT, true, false>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
/// <reference path="./types/index.d.ts" /> | ||
/// <reference path="./types/list.d.ts" /> | ||
|
||
import { IStringList } from './types/list.js'; | ||
|
||
export function stringListMutable< | ||
export declare function stringListMutable< | ||
TT extends readonly string[] = readonly never[], | ||
>(...list: TT): IStringList<TT, true, false>; | ||
>(...list: TT): StringLiteralList.list.IStringList<TT, true, false>; | ||
|
||
export function stringListReadonly< | ||
export declare function stringListReadonly< | ||
TT extends readonly string[] = readonly never[], | ||
>(...list: TT): IStringList<TT, false, false>; | ||
>(...list: TT): StringLiteralList.list.IStringList<TT, false, false>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.