mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-17 17:48:06 +00:00
🤖 Merge PR #65838 chore: remove @aero/sanitizer types by @ImRodry
This commit is contained in:
@@ -40,6 +40,10 @@
|
||||
"libraryName": "@adobe/node-fetch-retry",
|
||||
"asOfVersion": "2.1.0"
|
||||
},
|
||||
"aero__sanitizer": {
|
||||
"libraryName": "@aero/sanitizer",
|
||||
"asOfVersion": "1.3.2"
|
||||
},
|
||||
"ag-grid": {
|
||||
"libraryName": "ag-grid",
|
||||
"asOfVersion": "3.2.0"
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
import clean = require('aero__sanitizer');
|
||||
|
||||
clean('Thís îs à stríng with ãççénts'); // $ExpectType string
|
||||
// @ts-expect-error
|
||||
clean(1);
|
||||
16
types/aero__sanitizer/index.d.ts
vendored
16
types/aero__sanitizer/index.d.ts
vendored
@@ -1,16 +0,0 @@
|
||||
// Type definitions for aero__sanitizer 1.2
|
||||
// Project: https://git.farfrom.earth/aero/forks/sanitizer
|
||||
// Definitions by: Rodry <https://github.com/ImRodry>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/**
|
||||
* Sanitizes a given input string by transforming all characters into latin characters and removing accents.
|
||||
* @param str The string to sanitize.
|
||||
* @example
|
||||
* clean("aéà)àçé"); // 'aea)ace'
|
||||
* @example
|
||||
* clean("に間違いがないか、再度確認してください。再読み込みしてください。"); // niJian Wei iganaika, Zai Du Que Ren sitekudasai. Zai Du miIp misitekudasai.
|
||||
*/
|
||||
declare function clean(str: string): string;
|
||||
|
||||
export = clean;
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictFunctionTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"aero__sanitizer-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "@definitelytyped/dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user