Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8863235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:55:35+00:00 2026-06-14T15:55:35+00:00

module Layout { var a = localStorage.getItem(‘x’); export class aaa { init() {; var

  • 0
module Layout {

    var a = localStorage.getItem('x');
    export class aaa {
        init() {;
            var xxx = localStorage.getItem('x');
        }
    }

}

In Visual Studio 2012 with the 0.8.1 version I am getting a message on the line inside the init() function saying “the name localStorage does not exist in the current scope”. outside of the aaa class this works fine. Is there something I can do to solve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:55:36+00:00Added an answer on June 14, 2026 at 3:55 pm

    The 0.8.1 version of TypeScript has caused a bug in Web Essentials. There should be a fix in a few days.

    In the meantime, if you install the 0.8.0 version of TypeScript that works with the current version, or you can compile from command line:

    tsc --debug c:\myapp\app.ts
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Module: ./FOO/BAR/Foobar.pm use strict; use warnings; package Foobar; our($VERSION , @ISA , @EXPORT ,
Module Module1 Public cccounter = 9 End Module Public Class frmNim Private Sub btnSelect_Click(sender
module Test def self.model_method puts this is a module method end end class A
I try to specify a custom layout for my module like this: <frontend> ...
I have a custom module. In the custom module's layout file, it references a
I currently have Zend setup to look for a layout script in each module's
I'm currently working on loading a different layout file per module. I have added
I'm trying to figure out which browsers currently (natively) support the CSS3 layout module
I have the following Ext.TabPanel: var modules_info_panel = new Ext.TabPanel({ activeTab: 0, defaults:{autoScroll:true}, //layout:
It's my understanding that the CSS Flexible Box Layout module is being rewritten and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.