Skip to content

Commit

Permalink
chore: use types instead of typings
Browse files Browse the repository at this point in the history
  • Loading branch information
ratson committed May 21, 2023
1 parent 986f7d0 commit c9b129d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cordova-consent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.4.0",
"description": "Google Consent SDK Cordova Plugin",
"main": "./lib/index.js",
"typings": "./esm/index.d.ts",
"types": "./esm/index.d.ts",
"module": "./esm/index.js",
"scripts": {
"prepublishOnly": "npx nx build",
Expand Down
2 changes: 1 addition & 1 deletion packages/cordova-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.3.0",
"description": "Cordova Plugin for AdMob Plus Native Ad",
"main": "lib/index.js",
"typings": "esm/index.d.ts",
"types": "esm/index.d.ts",
"module": "esm/index.js",
"scripts": {
"prepublishOnly": "nx build",
Expand Down
2 changes: 1 addition & 1 deletion packages/cordova/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Trustable Google AdMob Cordova Plugin",
"main": "lib/index.js",
"module": "esm/index.js",
"typings": "esm/index.d.ts",
"types": "esm/index.d.ts",
"scripts": {
"prepublishOnly": "nx build",
"version": "npx cordova-plus plugin version",
Expand Down
2 changes: 1 addition & 1 deletion packages/ionic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Ionic Native wrapper for admob-plus-cordova",
"main": "lib/cjs/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"scripts": {
"prepublishOnly": "nx build",
"build": "ts-node -TH --skip-project scripts/build.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/ionic/scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const main = async () => {
fse.copy('./build/cjs/ngx', './ngx/cjs', {overwrite: true}),
fse.outputJSON('./ngx/package.json', {
...require('../package.json'),
typings: 'index.d.ts',
types: 'index.d.ts',
main: './cjs/index.js',
module: 'index.js',
})
Expand Down

0 comments on commit c9b129d

Please sign in to comment.