I am new to typescript and PnPjs and I found on some files on packages/sp folder like index.ts there is an import for JavaScript files like (../fi.js) instead of importing directly from ../fi.ts file , Why that ?
in the meantime typescript files inside the “samples” folder (like samples/spfx-react-components/src/webparts/pnPjs/components/ PnPjsWebPart.ts) are referencing other typescript files instead of referencing their compiled JavaScript files
New contributor
sameh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.