ViewRegistry.getTypeByExtension method
ViewRegistry › getTypeByExtension
Unofficial
Get the view type associated with a file extension.Signature:
getTypeByExtension(extension: string): string | undefinedParameters:
| Parameter | Type | Description |
|---|---|---|
| extension | string | File extension. |
Returns: string | undefined — The view type string, or undefined if not registered.