Skip to content

src/kody-runtime.d.ts

11 lines · 330 B · TypeScript
Raw
// Kody provides this module when the package runs as a hosted app. These types
// cover only the fields this package reads so local type checks pass.
declare module 'kody:runtime' {
  export const packageContext:
    | {
        assetBasePath?: string
        clientModuleUrl?: string | null
      }
    | null
    | undefined
}