Skip to content

ViewRegistry.on('extensions-updated') method

ViewRegistry › on(‘extensions-updated’)

Unofficial

Called when the file extensions mapping has been updated.

Signature:

on(name: "extensions-updated", callback: () => void): EventRef

Parameters:

Parameter Type Description
name "extensions-updated" The event name.
callback () => void The callback to invoke.

Returns: EventRefThe event reference.