forked from Crockan/MercuryToolbox
chore(release): prepare public source release
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
export interface Report {
|
||||
title: string;
|
||||
}
|
||||
|
||||
export type Builder = (name: string) => string;
|
||||
|
||||
export function helper(name: string): string {
|
||||
return name.toUpperCase();
|
||||
}
|
||||
|
||||
export const makeTyped = (value: number): number => {
|
||||
return value + 1;
|
||||
};
|
||||
|
||||
export namespace Tools {
|
||||
export function open(path: string): string {
|
||||
return path;
|
||||
}
|
||||
}
|
||||
|
||||
export function renderReport(name: string, path: string): Report {
|
||||
return {
|
||||
title: helper(Tools.open(path)) + name,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user