typescript more like lesbianscript

This commit is contained in:
amy 2024-06-23 22:34:35 +03:30
parent a8bf4b8a5a
commit 47de23d0a9
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
// warning: this IS horrible code. its a joke. DO NOT try this at home because
// your local senior programmer CAN and WILL hunt you down
// you have been warned.
export default function AdvancedBr({count}: any) {
export default function AdvancedBr({count}:{count:number}) {
return new Array(count).fill(null).map(_=>(<br/>))
}