Skip to content

App Types

JellyCommands provides ambient types to improve the type saftey of parts of your app.


You should create a file called src/app.d.ts, if you create-jellycommands this will already be setup for you.

/// <reference types="jellycommands/ambient" />

// See
interface Props {}

The jellycommands/ambient module contains our ambient type defaults which you can override in your app.d.ts


Since we are using ambient type declarations you can't use top level import statements, instead you should use inline import(). For example:

interface Props {
    test: import('./test').HelloWorld

MIT Licensed