mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 05:11:20 -08:00
refactor(tooling): [MOD-02] split library build and development into typed modules
This commit is contained in:
1 parent
28c7abb2bb
commit
401d4cdd65
36 files changed
+1644
-427
No files matched your search
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
// Only the installed APIs used by library tooling; not general SDK declarations.
|
||||
declare module 'prompts' {
|
||||
export default function prompts(question: {
|
||||
type: 'select'
|
||||
name: 'value'
|
||||
message: string
|
||||
choices: { title: string, value: string }[]
|
||||
}): Promise<{ value?: string }>
|
||||
}
|
||||
|
||||
declare module 'servor' {
|
||||
export default function servor(options: {
|
||||
root: string
|
||||
fallback: string
|
||||
reload: boolean
|
||||
port: number
|
||||
}): Promise<{ url: string }>
|
||||
}
|
||||
|
||||
declare module 'servor/utils/openBrowser.js' {
|
||||
export default function openBrowser(url: string): true | undefined
|
||||
}
|
||||
Reference in new issue
Block a user