mirror of
https://github.com/harness/drone.git
synced 2025-05-21 11:29:52 +08:00
68 lines
1.1 KiB
TypeScript
68 lines
1.1 KiB
TypeScript
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
declare const __DEV__: boolean
|
|
declare const __ON_PREM__: booelan
|
|
|
|
declare module '*.png' {
|
|
const value: string
|
|
export default value
|
|
}
|
|
|
|
declare module '*.jpg' {
|
|
const value: string
|
|
export default value
|
|
}
|
|
|
|
declare module '*.svg' {
|
|
const value: string
|
|
export default value
|
|
}
|
|
|
|
declare module '*.gif' {
|
|
const value: string
|
|
export default value
|
|
}
|
|
|
|
declare module '*.mp4' {
|
|
const value: string
|
|
export default value
|
|
}
|
|
|
|
declare module '*.yaml' {
|
|
const value: Record<string, any>
|
|
export default value
|
|
}
|
|
|
|
declare module '*.yml' {
|
|
const value: Record<string, any>
|
|
export default value
|
|
}
|
|
|
|
declare module '*.gql' {
|
|
const query: string
|
|
export default query
|
|
}
|
|
|
|
declare interface Window {
|
|
apiUrl: string
|
|
bugsnagClient?: any
|
|
STRIP_SCM_PREFIX?: boolean
|
|
}
|
|
|
|
declare const monaco: any
|
|
|
|
declare module '*.scss'
|
|
|
|
type RequireField<T, K extends keyof T> = T & Required<Pick<T, K>>
|
|
|
|
type Module =
|
|
| 'ci'
|
|
| 'cd'
|
|
| 'cf'
|
|
| 'cv'
|
|
| 'ce'
|
|
| ':module(ci)'
|
|
| ':module(cd)'
|
|
| ':module(cf)'
|
|
| ':module'
|
|
| ':module(cv)'
|