mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* Add koji-tools type definitions * Prettier * Linted * Add remaining exports * CRLF conversion * Remove namespace
12 lines
312 B
TypeScript
12 lines
312 B
TypeScript
import * as Koji from 'koji-tools';
|
|
|
|
Koji.watch();
|
|
Koji.pageLoad();
|
|
Koji.request({ url: 'www.test.org' });
|
|
Koji.pwaPrompt();
|
|
const myConfig = Koji.config;
|
|
const myRoutes = Koji.routes;
|
|
const myPwaInstaller = Koji.pwa;
|
|
Koji.on('test', () => 'Hello, world!');
|
|
const mySecret = Koji.resolveSecret('verySecretKey');
|