feat: 提交修改

This commit is contained in:
2912401452 2021-06-01 19:37:10 +08:00
parent 146bb81e6b
commit 63b844ca37
3 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ module.exports = [
commonjs({ commonjs({
namedExports: { namedExports: {
eventemitter3: [ 'EventEmitter' ], eventemitter3: [ 'EventEmitter' ],
inversify: ['inject','injectable','postConstruct','Container','decorate','interfaces'], // inversify: ['inject','injectable','postConstruct','Container','decorate','interfaces'],
// @see https://github.com/rollup/rollup-plugin-commonjs/issues/266 // @see https://github.com/rollup/rollup-plugin-commonjs/issues/266
lodash: [ lodash: [
'isNil', 'isNil',

View File

@ -130,7 +130,7 @@ export interface ILayer {
scale(field: string | number | IScaleOptions, cfg?: IScale): ILayer; scale(field: string | number | IScaleOptions, cfg?: IScale): ILayer;
size(field: StyleAttrField, value?: StyleAttributeOption): ILayer; size(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
color(field: StyleAttrField, value?: StyleAttributeOption): ILayer; color(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
texture(field: StyleAttrField, value?: StyleAttributeOption): ILayer; texture?(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
shape(field: StyleAttrField, value?: StyleAttributeOption): ILayer; shape(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
label(field: StyleAttrField, value?: StyleAttributeOption): ILayer; label(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
animate(option: Partial<IAnimateOption> | boolean): ILayer; animate(option: Partial<IAnimateOption> | boolean): ILayer;

View File

@ -30,7 +30,7 @@ export interface IMapWrapper {
} }
export interface IMapService<RawMap = {}> { export interface IMapService<RawMap = {}> {
version: string; version?: string;
map: RawMap; map: RawMap;
init(): void; init(): void;
initViewPort?(): void; initViewPort?(): void;