Join Nostr
2025-03-15 16:17:18 UTC

Axel Rauschmayer on Nostr: #TypeScript: Interesting small syntax inconsistency: // Works export default ...

#TypeScript: Interesting small syntax inconsistency:

// Works
export default interface Intf {}
export {
type SomeType as default,
}

// Does not work:
export default type SomeType;