// types/whatever.d.tsdeclare global { type MyType{ ... }}export {};
// types/whatever.d.tsdeclare global { type MyType{ ... }}export {};
Or stick to the old way? For example Nuxtr does not even recommend any file structure for types, so maybe there is completely different way of handling it?