added the type.ts files