Skip to content

Commit

Permalink
🐛 FIX: TypeScript Variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadawais committed Apr 27, 2020
1 parent 5d8f64d commit ea87077
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions demo/JavaScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/

// String.
const world = '🗺️';

const sop = '🦄 Shades of Purple is an awesome syntax highlighting theme.';
console.log('sop', sop);

Expand Down
4 changes: 3 additions & 1 deletion demo/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';

import { AppComponent } from './app.component';

const world = '🗺️';

@NgModule({
imports: [BrowserModule, FormsModule],
declarations: [AppComponent],
bootstrap: [AppComponent]
})

export class AppModule {}
6 changes: 3 additions & 3 deletions themes/shades-of-purple-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,9 @@
{
"name": "[JAVASCRIPT] — Storage types",
"scope": [
"storage.type.js",
"storage.type.class.js",
"storage.modifier.js",
"storage.type",
"storage.type.class",
"storage.modifier",
"keyword.control",
"keyword.operator"
],
Expand Down

0 comments on commit ea87077

Please sign in to comment.