Loading...
7 | {:then content} 8 | 9 | {:catch error} 10 |{error}
11 | {/await} 12 | -------------------------------------------------------------------------------- /packages/block-to-xlsx/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@total-typescript/tsconfig/tsc/dom/library-monorepo", 3 | "compilerOptions": { 4 | "moduleResolution": "NodeNext", 5 | "outDir": "./dist", 6 | "rootDir": "./src", 7 | }, 8 | "include": [ 9 | "src" 10 | ], 11 | "exclude": [ 12 | "**/*.test.*", 13 | "**/*.spec.*" 14 | ] 15 | } -------------------------------------------------------------------------------- /packages/core/src/lib/guards.ts: -------------------------------------------------------------------------------- 1 | export type Nothing = null | undefined 2 | 3 | export type Falsy = 0 | '' | false | Nothing 4 | 5 | export function isDefined${escapeHtml(
61 | blockToASCII(t, { format: transformConfig.asciiFormat })
62 | )}`;
63 | return renderHTMLPage(
64 | "Table",
65 | pagesTables.length > 1
66 | ? pagesTables
67 | .map(([title, table]) => `