Skip to content

Commit

Permalink
💤 chore: remove function body of lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiangmoe committed Dec 15, 2018
1 parent 998b5be commit 91c5e10
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/lowercase.macro/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ import {
* @param input only a StringLiteral
* @returns lowercased StringLiteral
*/
function lowercase(input: string): string {
console.error(new Error('no runtime output'));
return input.toLowerCase();
}
declare function lowercase(input: string): string;

// export default will be ignored in generated js file
// but it will still work in .d.ts file
Expand Down

0 comments on commit 91c5e10

Please sign in to comment.