ccd4c3701d
* create pki ca import component * add serial number to cert parser * convert to ts * remove comments * reset yarn.lock * fixed yarn lock * fix comment * add declaration for base cert
413 B
413 B
To generate a declaration file run yarn tsc <javascript file to declare> --declaration --allowJs --emitDeclarationOnly --outDir <type file location>
For example, the following command generates a declaration file called base.d.ts for the pki certificate base.js model:
yarn tsc ./app/models/pki/certificate/base.js --declaration --allowJs --emitDeclarationOnly --outDir types/vault/models/pki/certificate