Skip to content

Commit

Permalink
Make options optional again
Browse files Browse the repository at this point in the history
  • Loading branch information
abemedia authored Jul 7, 2024
1 parent 9c511bd commit b8c35f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export interface MonacoYaml extends IDisposable {
* @returns
* A disposable object that can be used to update `monaco-yaml`
*/
export function configureMonacoYaml(monaco: MonacoEditor, options: MonacoYamlOptions): MonacoYaml {
export function configureMonacoYaml(monaco: MonacoEditor, options?: MonacoYamlOptions): MonacoYaml {
const createData: MonacoYamlOptions = {
completion: true,
customTags: [],
Expand Down

0 comments on commit b8c35f4

Please sign in to comment.