SimplyTyped:另一个用于高级类型的 Typescript 类型库-源码

上传者: 42155721 | 上传时间: 2021-08-04 14:05:35 | 文件大小: 50KB | 文件类型: ZIP
简体字 又一个打字库。 不同之处在于,在行业用例的推动下,其目标是比其他人更少实验。 许多公开的类型是内置功能之上的一个非常薄的层。 目标是提供制作简洁但复杂的类型所需的所有构建块。 npm install --save-dev simplytyped 要与使用,请导入https://unpkg.com/simplytyped/edition-deno/index.ts 目录 - - - - - - - - - - - Merge - ObjectKeys - ObjectType - Omit - Optional - Overwrite - PlainObject - PureKeys - Required - SharedKeys - StrictUnion - StringKeys - TaggedObject - Try UnionizeProper

文件下载

资源详情

[{"title":"( 81 个子文件 50KB ) SimplyTyped:另一个用于高级类型的 Typescript 类型库-源码","children":[{"title":"SimplyTyped-master","children":[{"title":".github","children":[{"title":"CODEOWNERS <span style='color:#111;'> 17B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"types.ts <span style='color:#111;'> 271B </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"objects.ts <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"types","children":[{"title":"tuples.ts <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"predicates.ts <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"utils.ts <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"objects.ts <span style='color:#111;'> 10.69KB </span>","children":null,"spread":false},{"title":"numbers.ts <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"strings.ts <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"functions.ts <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"conditionals.ts <span style='color:#111;'> 825B </span>","children":null,"spread":false}],"spread":true},{"title":"impl.ts <span style='color:#111;'> 32B </span>","children":null,"spread":false}],"spread":true},{"title":"scripts","children":[{"title":"generateDocumentation.ts <span style='color:#111;'> 6.71KB </span>","children":null,"spread":false},{"title":"preparePublish.ts <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"commitDocsIfChanged.sh <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"testTsVersions.sh <span style='color:#111;'> 187B </span>","children":null,"spread":false}],"spread":true},{"title":"CONTRIBUTING.md <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"utils","children":[{"title":"UnionToIntersection.test.ts <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"PromiseOr.test.ts <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"NoDistribute.test.ts <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"Nominal.test.ts <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"NoInfer.test.ts <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"Nullable.test.ts <span style='color:#111;'> 408B </span>","children":null,"spread":false}],"spread":true},{"title":"tuples","children":[{"title":"UnionizeTuple.test.ts <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"Length.test.ts <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"IntersectTuple.test.ts <span style='color:#111;'> 387B </span>","children":null,"spread":false},{"title":"Vector.test.ts <span style='color:#111;'> 512B </span>","children":null,"spread":false}],"spread":true},{"title":"prototypes.test.ts <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"numbers","children":[{"title":"Sub.test.ts <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"NumberEqual.test.ts <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"Add.test.ts <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"IsZero.test.ts <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"NumberToString.test.ts <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"IsOne.test.ts <span style='color:#111;'> 275B </span>","children":null,"spread":false}],"spread":true},{"title":"conditionals","children":[{"title":"If.test.ts <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"Nand.test.ts <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"Xor.test.ts <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"Not.test.ts <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"Or.test.ts <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"And.test.ts <span style='color:#111;'> 555B </span>","children":null,"spread":false}],"spread":true},{"title":"helpers","children":[{"title":"assert.ts <span style='color:#111;'> 71B </span>","children":null,"spread":false}],"spread":false},{"title":"impl","children":[{"title":"objects","children":[{"title":"taggedObject.test.ts <span style='color:#111;'> 618B </span>","children":null,"spread":false},{"title":"isKeyOf.test.ts <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"objectKeys.test.ts <span style='color:#111;'> 384B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"objects","children":[{"title":"Optional.test.ts <span style='color:#111;'> 380B </span>","children":null,"spread":false},{"title":"Required.test.ts <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"Merge.test.ts <span style='color:#111;'> 757B </span>","children":null,"spread":false},{"title":"DeepReadonly.test.ts <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"SharedKeys.test.ts <span style='color:#111;'> 388B </span>","children":null,"spread":false},{"title":"StrictUnion.test.ts <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"CombineObjects.test.ts <span style='color:#111;'> 432B </span>","children":null,"spread":false},{"title":"UnionKeys.test.ts <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"ObjectType.test.ts <span style='color:#111;'> 327B </span>","children":null,"spread":false},{"title":"Omit.test.ts <span style='color:#111;'> 336B </span>","children":null,"spread":false},{"title":"Intersect.test.ts <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"AllKeys.test.ts <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"Overwrite.test.ts <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"GetKey.test.ts <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"KeysByType.test.ts <span style='color:#111;'> 946B </span>","children":null,"spread":false},{"title":"DeepPartial.test.ts <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"UnionizeProperties.test.ts <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"DiffKeys.test.ts <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"ElementwiseIntersect.test.ts <span style='color:#111;'> 978B </span>","children":null,"spread":false},{"title":"AllRequired.test.ts <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"ConstructorFor.test.ts <span style='color:#111;'> 463B </span>","children":null,"spread":false}],"spread":false},{"title":"strings","children":[{"title":"StringEqual.test.ts <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"DropString.test.ts <span style='color:#111;'> 393B </span>","children":null,"spread":false},{"title":"IsNever.test.ts <span style='color:#111;'> 318B </span>","children":null,"spread":false}],"spread":false},{"title":"functions","children":[{"title":"OverwriteReturn.test.ts <span style='color:#111;'> 390B </span>","children":null,"spread":false},{"title":"ArgsAsTuple.test.ts <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"ConstructorFunction.test.ts <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"Predicate.test.ts <span style='color:#111;'> 312B </span>","children":null,"spread":false},{"title":"AnyFunc.test.ts <span style='color:#111;'> 436B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"tslint.json <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 26.73KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 54B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明