Skip to content

Commit

Permalink
(fix)TypeScript: LayerExtension default type (#7808)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Mar 30, 2023
1 parent b33347c commit 68ce09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/src/lib/layer-extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import type CompositeLayer from './composite-layer';
import type {UpdateParameters} from './layer';
import type {LayerContext} from './layer-manager';

export default abstract class LayerExtension<OptionsT = undefined> {
export default abstract class LayerExtension<OptionsT = unknown> {
static defaultProps = {};
opts!: OptionsT;

Expand Down

0 comments on commit 68ce09b

Please sign in to comment.