You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update api-extractor.json so that the dtsRollup.publicTrimmedFilePath points to the new location for the current types, e.g. "./types/core-auth.d.ts" -> "./types/latest/core-auth.d.ts".
add the following build:types script to package.json"build:types": "downlevel-dts types/latest types/3.5" and update the build script to run it as the last step.
update package.json types field to point to the new location from step 2, e.g. "types": "./types/core-auth.d.ts" -> "types": "./types/latest/core-auth.d.ts".
add a typesVersions field to package.json. This is used to map type declarations based on the version of TypeScript the user is using. Example from core-auth:
update package.json's files entry to include types/latest/ and types/3.5/.
List of those packages:
Text Analytics
App Configuration
Key Vault
Search
Identity
Schema Registery
Event Grid
Tables
Core
abort-controller
arm
asynciterator-polyfill
lro
paging
tracing
logger
for packages that do contain the type declarations for 3.1,
update the version of downlevel-dts to the most recent.
update api-extractor.json config so that the dtsRollup.publicTrimmedFilePath points to the new location for the current types, e.g. "./types/core-auth.d.ts" -> "./types/latest/core-auth.d.ts".
update the build:types script in package.json to be "build:types": "downlevel-dts types/latest types/3.5".
update the typesVersions field in package.json to have 3.5 instead of 3.1.
update package.json's files entry to include types/3.5/ instead of types/3.1/.
This epic is to track adding support for a minimum TS version of 3.5.
downlevel-dts
as a dev dependency.api-extractor.json
so that thedtsRollup.publicTrimmedFilePath
points to the new location for the current types, e.g."./types/core-auth.d.ts"
->"./types/latest/core-auth.d.ts"
.package.json
"build:types": "downlevel-dts types/latest types/3.5"
and update the build script to run it as the last step.package.json
types field to point to the new location from step 2, e.g."types": "./types/core-auth.d.ts"
->"types": "./types/latest/core-auth.d.ts"
.package.json
. This is used to map type declarations based on the version of TypeScript the user is using. Example from core-auth:package.json
's files entry to includetypes/latest/
andtypes/3.5/
.downlevel-dts
to the most recent.package.json
to be"build:types": "downlevel-dts types/latest types/3.5"
.package.json
to have 3.5 instead of 3.1.package.json
's files entry to includetypes/3.5/
instead oftypes/3.1/
.types/<package name>.d.ts
using TS 3.5.The text was updated successfully, but these errors were encountered: