kompendium
Version:
Documentation generator for Stencil components
66 lines (65 loc) • 965 B
TypeScript
/**
* This is Foo
*
* Foo is good
* @foo foobar
*/
export interface Foo {
/**
* foo is a string
* @deprecated this is not used
*/
foo: string;
/**
* set if bar
*/
bar?: boolean;
/**
* Do something
*
* From string to number
* @param {string} args the string
* @returns {number} the number
* @foobar baz
*/
baz: (args: string) => number;
}
/**
* The bar
*/
export type Bar = Record<string, any>;
/**
* The colors
*/
export declare enum Color {
/**
* The red color
*/
Red = "red",
/**
* Looks like green
*/
Green = "green",
/**
* Almost blue
*/
Blue = "blue"
}
/**
* The Zap class
* @deprecated
*/
export declare class Zap implements Foo {
/**
* @inheritDoc
*/
foo: string;
/**
* @inheritDoc
*/
bar?: boolean;
/**
* @inheritDoc
*/
baz: (args: string) => number;
}