Complete the code to add a new property to an existing module interface.
declare module 'my-library' { interface Config { [1]: string; } }
Module augmentation allows you to add new properties like newProperty to existing interfaces.
Complete the code to correctly augment the module by adding a function.
declare module 'my-library' { export function [1](): void; }
The function newFunction is added to the module using augmentation.
Fix the error in the module augmentation syntax.
declare module 'my-library' { interface Config { newOption: string [1] }
The interface block must be properly closed with a curly brace }.
Fill both blanks to correctly augment a module by adding a new interface and exporting a function.
declare module 'my-library' { interface [1] { enabled: boolean; } export function [2](): void; }
The interface Settings and function activateFeature are added to the module.
Fill all three blanks to augment a module by adding a new interface, a property, and a function.
declare module 'my-library' { interface [1] { [2]: number; } export function [3](): void; }
The interface Settings is augmented with a timeout property and an initialize function is added.