Skip to content

Commit

Permalink
[Document Translator] Fix typedef file name (Azure#14985)
Browse files Browse the repository at this point in the history
* Fix typedef file name

* update package

* update eslint rules
  • Loading branch information
joheredi authored Apr 23, 2021
1 parent ef49f53 commit 26d916c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"plugins": ["@azure/azure-sdk"],
"extends": ["plugin:@azure/azure-sdk/azure-sdk-base"],
"rules": {
"@azure/azure-sdk/ts-modules-only-named": "warn"
"@azure/azure-sdk/ts-modules-only-named": "warn",
"@azure/azure-sdk/ts-apiextractor-json-types": "warn",
"@azure/azure-sdk/ts-package-json-types": "warn"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/ai-document-translator-rest.d.ts"
"publicTrimmedFilePath": "./types/ai-document-translator.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
"types": "./types/ai-document-translator-rest.d.ts",
"types": "./types/ai-document-translator.d.ts",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/documenttranslator/ai-document-translator/README.md",
"repository": "github:Azure/azure-sdk-for-js",
"bugs": {
Expand Down

0 comments on commit 26d916c

Please sign in to comment.