Skip to content

Commit

Permalink
fix: ts defined
Browse files Browse the repository at this point in the history
  • Loading branch information
hongfaqiu committed Dec 20, 2023
1 parent 6c4851d commit 3be9d5c
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![npm latest version](https://img.shields.io/npm/v/cesium-extends.svg) ![license](https://img.shields.io/npm/l/cesium-extends)

cesium-extends 是一个从[DDE-Earth](https://deep-time.org/map/#/)中抽离的、用于 CesiumJS 的扩展库,它与前端框架无关,提供了一些常用的功能和组件,方便开发者快速构建 Cesium 应用。
cesium-extends 是一个从[DDE-Earth](https://alpha.deep-time.org/map/#/)中抽离的、用于 CesiumJS 的扩展库,它与前端框架无关,提供了一些常用的功能和组件,方便开发者快速构建 Cesium 应用。

## 安装

Expand Down
2 changes: 1 addition & 1 deletion doc/docs/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group:

![npm latest version](https://img.shields.io/npm/v/cesium-extends.svg) ![license](https://img.shields.io/npm/l/cesium-extends)

cesium-extends 是一个从[DDE-Earth](https://deep-time.org/map/#/)中抽离的、用于 CesiumJS 的扩展库,它与前端框架无关,提供了一些常用的功能和组件,方便开发者快速构建 Cesium 应用。
cesium-extends 是一个从[DDE-Earth](https://alpha.deep-time.org/map/#/)中抽离的、用于 CesiumJS 的扩展库,它与前端框架无关,提供了一些常用的功能和组件,方便开发者快速构建 Cesium 应用。

## 安装

Expand Down
2 changes: 1 addition & 1 deletion packages/cesium-extends/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![npm latest version](https://img.shields.io/npm/v/cesium-extends.svg) ![license](https://img.shields.io/npm/l/cesium-extends)

cesium-extends 是一个从[DDE-Earth](https://deep-time.org/map/#/)中抽离的、用于 CesiumJS 的扩展库,它与前端框架无关,提供了一些常用的功能和组件,方便开发者快速构建 Cesium 应用。
cesium-extends 是一个从[DDE-Earth](https://alpha.deep-time.org/map/#/)中抽离的、用于 CesiumJS 的扩展库,它与前端框架无关,提供了一些常用的功能和组件,方便开发者快速构建 Cesium 应用。

## 安装

Expand Down
2 changes: 1 addition & 1 deletion packages/primitive-geojson/src/GeoJsonLayer-util.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Cartesian3, defined, HeightReference, RuntimeError, VerticalOrigin } from 'cesium';

import type { GeoJSON } from 'geojson';
import type GeoJsonPrimitiveLayer from './GeoJsonPrimitiveLayer';
import type { GeoJsonPrimitiveLayer } from './GeoJsonPrimitiveLayer';
import type { GeoJsonPrimitiveLayerOptions } from './typings';

export type CrsFunction = (coors: number[]) => Cartesian3;
Expand Down
2 changes: 1 addition & 1 deletion packages/primitive-geojson/src/GeoJsonPrimitiveLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const DefaultOptions: GeoJsonPrimitiveLayerOptions = {
fill: DefaultColor,
clampToGround: false,
};
export default class GeoJsonPrimitiveLayer extends BasicGraphicLayer {
export class GeoJsonPrimitiveLayer extends BasicGraphicLayer {
private _name: string | undefined;
private _isLoading: boolean;
private _error: Event;
Expand Down
2 changes: 1 addition & 1 deletion packages/primitive-geojson/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import GeoJsonPrimitiveLayer from "./GeoJsonPrimitiveLayer";
import { GeoJsonPrimitiveLayer } from "./GeoJsonPrimitiveLayer";
export * from "./typings"
export { default as getPositionsCenter } from './getPositionsCenter';

Expand Down
44 changes: 22 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3be9d5c

Please sign in to comment.