-
Notifications
You must be signed in to change notification settings - Fork 470
Proposal setup to make the TypeScript migration easier #614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
b6d0e2c
f11ac62
53cb86d
65ef080
c9340dd
83cf94e
ecfb903
01134b6
d771b65
8a79b4c
f8becd7
62b98d8
28e4b18
b4e8342
385625e
3e8c451
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: ['kcd-scripts/babel', '@babel/preset-typescript'], | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "./types/", | ||
"allowJs": true, | ||
"declaration": true, | ||
"emitDeclarationOnly": true | ||
}, | ||
"include": ["./src/**/*.ts"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export function getNodeText(node: HTMLElement): string; | ||
declare function getNodeText(node: HTMLElement): string; | ||
export { getNodeText }; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. Do we need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shouldn't need to. Might need to add the |
Uh oh!
There was an error while loading. Please reload this page.