mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-22 10:42:10 +00:00
Fixed interface not being correctly exported
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
3b6c5886ea
commit
00e61b370f
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,4 +4,5 @@ node_modules
|
|||||||
*.js
|
*.js
|
||||||
*.d.ts
|
*.d.ts
|
||||||
!interfaces.d.ts
|
!interfaces.d.ts
|
||||||
|
!main.d.ts
|
||||||
test.ts
|
test.ts
|
||||||
|
4
main.d.ts
vendored
Normal file
4
main.d.ts
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
import TCGdex from './tcgdex'
|
||||||
|
export * from './interfaces'
|
||||||
|
|
||||||
|
export default TCGdex
|
@ -2,7 +2,7 @@
|
|||||||
"name": "@tcgdex/sdk",
|
"name": "@tcgdex/sdk",
|
||||||
"version": "2.0.0-beta",
|
"version": "2.0.0-beta",
|
||||||
"main": "./tcgdex.js",
|
"main": "./tcgdex.js",
|
||||||
"types": "./tcgdex.d.ts",
|
"types": "./main.d.ts",
|
||||||
"repository": "https://github.com/tcgdex/javascript-sdk.git",
|
"repository": "https://github.com/tcgdex/javascript-sdk.git",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import RequestWrapper from './Request'
|
import RequestWrapper from './Request'
|
||||||
import { Serie, Set, Card, CardResume, SerieList, SetList, SupportedLanguages } from './interfaces'
|
import { Serie, Set, Card, CardResume, SerieList, SetList, SupportedLanguages } from './interfaces'
|
||||||
export * from './interfaces'
|
|
||||||
|
|
||||||
export default class TCGdex {
|
export default class TCGdex {
|
||||||
public static defaultLang: SupportedLanguages = "en"
|
public static defaultLang: SupportedLanguages = "en"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user