RedCommander
RedCommander
KPCKevin Powell - Community
Created by RedCommander on 7/15/2024 in #front-end
Import types from seperate file without typescript generation export
Ok, in my case it seems that setting the module type to 'preserve' seemed to do the trick
11 replies
KPCKevin Powell - Community
Created by RedCommander on 7/15/2024 in #front-end
Import types from seperate file without typescript generation export
import { Webframe } from "../types/core/Webframe";

document.body.style.border = "5px solid green";

const frame: Webframe = XPCNativeWrapper.unwrap(window).webframe;
import { Webframe } from "../types/core/Webframe";

document.body.style.border = "5px solid green";

const frame: Webframe = XPCNativeWrapper.unwrap(window).webframe;
11 replies
KPCKevin Powell - Community
Created by RedCommander on 7/15/2024 in #front-end
Import types from seperate file without typescript generation export
You have a different es compile version (its the object.defineProperty(exports [...])) and there is still an import at the top of my file :)
11 replies
KPCKevin Powell - Community
Created by RedCommander on 7/15/2024 in #front-end
Import types from seperate file without typescript generation export
I guess I could remove it manually, but that would be really annoying when always recompiling while modifing the code
11 replies
KPCKevin Powell - Community
Created by RedCommander on 7/15/2024 in #front-end
Import types from seperate file without typescript generation export
I am trying to write a browser extension.
11 replies
KPCKevin Powell - Community
Created by RedCommander on 7/15/2024 in #front-end
Import types from seperate file without typescript generation export
SyntaxError: export declarations may only appear at top level of a module
11 replies
KPCKevin Powell - Community
Created by RedCommander on 7/11/2024 in #front-end
Inline style attribute nesting
Ah ok, that will not be possible, but thank you
3 replies
KPCKevin Powell - Community
Created by RedCommander on 10/18/2022 in #front-end
Have a Button and a Link have the same size
Thank you
8 replies
KPCKevin Powell - Community
Created by RedCommander on 10/18/2022 in #front-end
Have a Button and a Link have the same size
8 replies