[safie-sdk] Add type definitions#75014
Conversation
Type definitions for the Safie Developers JavaScript SDK distributed via CDN from https://developers.safie.link/. This is a non-npm package that declares the global Safie namespace exposed by the SDK when loaded as a <script> tag.
|
@yusuke-oba1 Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment that I will keep updated. 1 package in this PRCode ReviewsThis PR adds a new definition, so it needs to be reviewed by a DT maintainer before it can be merged. You can test the changes of this PR in the Playground. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 75014,
"author": "yusuke-oba1",
"headCommitOid": "84d893eab091fe78c932364875074403655adcbc",
"mergeBaseOid": "c6fb7d2e0e833931ac92da131709d2c6178ce3d8",
"lastPushDate": "2026-05-18T01:00:25.000Z",
"lastActivityDate": "2026-05-18T01:00:25.000Z",
"hasMergeConflict": false,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"tooManyCommits": false,
"tooManyReviews": false,
"popularityLevel": "Well-liked by everyone",
"pkgInfo": [
{
"name": "safie-sdk",
"kind": "add",
"files": [
{
"path": "types/safie-sdk/.npmignore",
"kind": "package-meta-ok"
},
{
"path": "types/safie-sdk/index.d.ts",
"kind": "definition"
},
{
"path": "types/safie-sdk/package.json",
"kind": "package-meta-ok"
},
{
"path": "types/safie-sdk/safie-sdk-tests.ts",
"kind": "test"
},
{
"path": "types/safie-sdk/tsconfig.json",
"kind": "package-meta-ok"
}
],
"owners": [],
"addedOwners": [
"SafieDev"
],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
}
],
"reviews": [],
"mainBotCommentID": 4473279812,
"ciResult": "pass"
} |
|
🔔 @yusuke-oba1 — there are no owners, but it would still be good if you find someone to review this PR in the next few days, otherwise a maintainer will look at it. (And if you do find someone, maybe even recruit them to be a second owner to make future changes easier...) |
Type definitions for the Safie Developers JavaScript SDK distributed via CDN from https://developers.safie.link/.
This is a non-npm package that declares the global Safie namespace exposed by the SDK when loaded as a
<script>tag.pnpm test <package to test>.If adding a new definition:
.d.tsfiles generated via--declarationdts-gen --dt, not by basing it on an existing project.dts-gen, the declarations were generated from the SDK's own TypeScript source viatsc --declarationand then post-processed to fit the DefinitelyTyped global-namespace conventions. This yields more accurate types than runtime introspection bydts-gen.tsconfig.jsonshould havenoImplicitAny,noImplicitThis,strictNullChecks, andstrictFunctionTypesset totrue.