This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare namespace preact { | |
interface ComponentProps { | |
children?:JSX.Element[]; | |
key?:string; | |
} | |
interface PreactHTMLAttributes { | |
key?:string; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function foo(){ | |
bar() | |
function bar(){ | |
console.log('bar1') | |
} | |
} | |
function bar(){ | |
console.log('bar2') | |
} |