DetachHead

Results 929 comments of DetachHead

that example doesn't work because it needs to be a method not a function

sveltekit infers the types so you don't have to annotate them explicitly. i've updated the issue with a github repo. to reproduce the error, checkout that branch then run the...

true. i added `./node_modules/.bin` to my path so i forgot about `npx`. updated my comment

i see this issue was moved to the pylance repo. from my understanding the syntax highlighting provided by magicpython is bundled with vscode and separate to the semantic highlighting provided...

these errors too: ``` node_modules/@sapui5/ts-types/types/sap.fe.navigation.d.ts:271:28 - error TS2702: 'JQuery' only refers to a type, but is being used as a namespace here. 271 parseNavigation(): JQuery.Promise; ~~~~~~ node_modules/@sapui5/ts-types/types/sap.fe.navigation.d.ts:338:12 - error TS2702:...

fair enough, i use the esm types where i can but in this case i need the old global types for a script i'm injecting onto a page that has...

> Would this be something you can live with? i wanted to avoid this kind of boilerplate though but i guess it's not that big of a deal for my...

@petermuessig i tried this on the latest version (1.120.1) but `'sap/ui/core/Element'` doesn't seem to be exported anymore? ```ts import type { registry } from 'sap/ui/core/Element' ``` ``` Cannot find module...

oops i still was actually still using the global `@sapui5/ts-types` package, my bad