Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 2.8 KB

README.md

File metadata and controls

44 lines (28 loc) · 2.8 KB

TypeScript (AMD) - Deprecated

Deprecation Notice: The AMD TypeScript declaration files and the arcgis-js-api npm package have been deprecated at 4.29 and will be retired at 4.31. if you are building a new application, we recommend using the @arcgis/core ES modules, here are sample applications for getting started.

TypeScript declaration files are available for download from the archive folder. Choose the file that corresponds to the ArCGIS Maps SDK for JavaScript version being used in your app.

NOTE: The declaration files only provide type information, they do not provide any SDK mapping capabilities.

You can also get the TypeScript definitions by locally installing the SDK package from deprecated npm package. From your project's root directory, run npm install arcgis-js-api on the command line. This package contains the full SDK functionality along with the type definitions. Refer to the SDK's Introduction to tooling guide topic for additional information.

Known issues

  • Currently, due to limitations in TypeScript, the APIs autocasting functionality works best in non-TypeScript applications. No changes are required if you are already using the SDK without any TypeScript build errors.

Requirements

Resources

Licensing

Copyright 2024 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.