@meldscience/meld
Version:
pipeable one-shot prompt scripting toolkit
25 lines (20 loc) • 391 B
text/typescript
export interface TestInterface {
prop1: string;
prop2: number;
}
export type TestType = {
field1: string;
field2: boolean;
};
export function testFunction1() {
return 'test1';
}
export function testFunction2(param: string) {
return `test2: ${param}`;
}
export class TestClass {
constructor(private name: string) {}
public getName(): string {
return this.name;
}
}