return new Promise((resolve, reject) => {
const data = await this.tryRetrieveData();
if (data) {
resolve(data);
} else {
reject("No data!");
}
});
Notice at first the resolve,reject call are the same color as tryRetrieveData. Then, after a small delay they become the same color as the parameters. I assume this is some semantic highlighting. However, in the token inspector window:
It lists their colors as #0095A9, which is the function call color that they originally had, not the parameter color.
Using theme Noctis Lilac https://marketplace.visualstudio.com/items?itemName=liviuschera.noctis
New typesctipt file with contents:
Notice at first the resolve,reject call are the same color as tryRetrieveData. Then, after a small delay they become the same color as the parameters. I assume this is some semantic highlighting. However, in the token inspector window: It lists their colors as #0095A9, which is the function call color that they originally had, not the parameter color.