Typed helper for building a RendererClassEntry.
TypeScript infers P from rendererClass so excess or wrong-typed
properties in params are caught at compile time — the same way
BaseLayer.addRenderer works.
Type Parameters
P
Parameters
id: string
rendererClass: (new (width, height, params?) => LayerRenderer<never>)
Typed helper for building a RendererClassEntry. TypeScript infers
PfromrendererClassso excess or wrong-typed properties inparamsare caught at compile time — the same way BaseLayer.addRenderer works.