Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import text from './foo.txt'
- console.log(text)
- declare module '*.txt' {
- const content: string;
- export default content;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement