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:

ParameterTypeDescription
name"extensions-updated"The event name.
callback() => voidThe callback to invoke.

Returns: EventRefThe event reference.