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({
namedExports: {
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
lodash: [
'isNil',

View File

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

View File

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