@ishank_sharma/commmon1
v1.0.4
Published
npm inint -y tsc --init make src / index.ts install zod place all code you want to share between server and client in index.ts
Downloads
358
Readme
npm inint -y tsc --init make src / index.ts install zod place all code you want to share between server and client in index.ts
npm login npm publish --access=public
make .npmignore and add src in it
change version and then again publish
we need to make .d.ts (declaration file) which contain only typescript interface and not whole typescript code or js code and not execution code
make declaration true in tsconfig file