mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Detect emoji support (#37285)
* adds support for detect-emoji-support * passes lint * adds support for detect-emoji-support
This commit is contained in:
parent
799d3b84cf
commit
fbb0149482
4
types/detect-emoji-support/detect-emoji-support-tests.ts
Normal file
4
types/detect-emoji-support/detect-emoji-support-tests.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import { emojiSupport } from 'detect-emoji-support';
|
||||
|
||||
if (emojiSupport()) {
|
||||
}
|
||||
6
types/detect-emoji-support/index.d.ts
vendored
Normal file
6
types/detect-emoji-support/index.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
// Type definitions for detect-emoji-support 0.1
|
||||
// Project: https://github.com/danalloway/detect-emoji-support
|
||||
// Definitions by: Adam Hanna <https://github.com/adam-hanna>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export function emojiSupport(): boolean;
|
||||
23
types/detect-emoji-support/tsconfig.json
Normal file
23
types/detect-emoji-support/tsconfig.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"detect-emoji-support-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/detect-emoji-support/tslint.json
Normal file
1
types/detect-emoji-support/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Loading…
Reference in New Issue
Block a user