Skip to content

Instantly share code, notes, and snippets.

declare namespace preact {
interface ComponentProps {
children?:JSX.Element[];
key?:string;
}
interface PreactHTMLAttributes {
key?:string;
}
@kruczy
kruczy / 1.js
Last active August 29, 2015 14:04
Test
function foo(){
bar()
function bar(){
console.log('bar1')
}
}
function bar(){
console.log('bar2')
}