generated from HeesuKim0203/npm-package-template
-
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.
Merge pull request #4 from HeesuKim0203/release/package
Release/package
- Loading branch information
Showing
15 changed files
with
101 additions
and
102 deletions.
There are no files selected for viewing
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
Binary file not shown.
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,4 +1,4 @@ | ||
import type { BCType } from './type'; | ||
declare const BC: BCType; | ||
export default BC; | ||
import type { VCType } from './type'; | ||
declare const VC: VCType; | ||
export default VC; | ||
//# sourceMappingURL=index.d.ts.map |
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,21 +1,21 @@ | ||
import { baseColors, baseStyles } from './data'; | ||
export type BCMethod = (text: string) => string; | ||
export type VCMethod = (text: string) => string; | ||
export type CustomMethod = (num: number, text: string) => string; | ||
export type WebConsoleCustomMethod = (style: string, text: string) => void; | ||
type ListToObject<T extends readonly string[]> = { | ||
[P in T[number]]: BCMethod; | ||
[P in T[number]]: VCMethod; | ||
}; | ||
export type ColorType = ListToObject<typeof baseColors>; | ||
export type BCFontStyleType = ListToObject<typeof baseStyles>; | ||
export type BCType = { | ||
[K in keyof BCFontStyleType]: BCFontStyleType[K]; | ||
export type VCFontStyleType = ListToObject<typeof baseStyles>; | ||
export type VCType = { | ||
[K in keyof VCFontStyleType]: VCFontStyleType[K]; | ||
} & { | ||
color: ColorType; | ||
bg: ColorType; | ||
colorCustom: CustomMethod; | ||
bgCustom: CustomMethod; | ||
console: WebConsoleCustomMethod; | ||
reset: BCMethod; | ||
reset: VCMethod; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=type.d.ts.map |
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,4 +1,4 @@ | ||
import type { BCType } from './type'; | ||
declare const BC: BCType; | ||
export default BC; | ||
import type { VCType } from './type'; | ||
declare const VC: VCType; | ||
export default VC; | ||
//# sourceMappingURL=index.d.ts.map |
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,21 +1,21 @@ | ||
import { baseColors, baseStyles } from './data'; | ||
export type BCMethod = (text: string) => string; | ||
export type VCMethod = (text: string) => string; | ||
export type CustomMethod = (num: number, text: string) => string; | ||
export type WebConsoleCustomMethod = (style: string, text: string) => void; | ||
type ListToObject<T extends readonly string[]> = { | ||
[P in T[number]]: BCMethod; | ||
[P in T[number]]: VCMethod; | ||
}; | ||
export type ColorType = ListToObject<typeof baseColors>; | ||
export type BCFontStyleType = ListToObject<typeof baseStyles>; | ||
export type BCType = { | ||
[K in keyof BCFontStyleType]: BCFontStyleType[K]; | ||
export type VCFontStyleType = ListToObject<typeof baseStyles>; | ||
export type VCType = { | ||
[K in keyof VCFontStyleType]: VCFontStyleType[K]; | ||
} & { | ||
color: ColorType; | ||
bg: ColorType; | ||
colorCustom: CustomMethod; | ||
bgCustom: CustomMethod; | ||
console: WebConsoleCustomMethod; | ||
reset: BCMethod; | ||
reset: VCMethod; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=type.d.ts.map |
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
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.