@discoveryjs/discovery
Version:
Frontend framework for rapid data (JSON) analysis, shareable serverless reports and dashboards
61 lines (60 loc) • 1.59 kB
TypeScript
declare namespace _default {
namespace demo {
export let view: string;
export let syntax: string;
export { codeExample as source };
}
let examples: ({
title: string;
highlightProps: string[];
demo: {
view: string;
source: string;
syntax: string;
lineNum: any;
}[];
beforeDemo?: undefined;
} | {
title: string;
highlightProps: string[];
beforeDemo: string[];
demo: {
view: string;
source: string;
syntax: string;
lineNum: boolean;
marks?: undefined;
};
} | {
title: string;
highlightProps: string[];
beforeDemo: {
view: string;
source: string[];
};
demo: {
view: string;
source: string;
syntax: string;
marks: ({
offset: number;
content?: undefined;
prefix?: undefined;
postfix?: undefined;
} | {
offset: number;
content: string;
prefix?: undefined;
postfix?: undefined;
} | {
offset: number;
prefix: string;
content: string;
postfix: string;
})[];
lineNum?: undefined;
};
})[];
}
export default _default;
declare const codeExample: "let name = \"world\";\n\nconsole.log(`Hello, ${name}!`);";