This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The Monaco Editor can be easily created, given an | |
// empty container and an options literal. | |
// Two members of the literal are "value" and "language". | |
// The editor takes the full size of its container. | |
// Important Bit #1: Typescript must see the 'file' it is editing as having | |
// a .tsx extension | |
const modelUri = monaco.Uri.file("foo.tsx") | |
// Important Bit #2 |