use named imports/exports for types.js, rather than property names