Skip to content

'''typescript keeps appearing in my typescript files, I wonder if being generated by Bolt/Stackblitz?  #1670

@tomwattsuk

Description

@tomwattsuk

Describe the bug

I've noticed in some files i'm seeing at the top:

````typescript`

and then at the end


I'm not sure what is going on here, these are files i'm not touching to my knowledge, but then when i run a build they'll error and i'll have to remove the errornous code - and then i will see it generated again at some point? 

Any thoughts? 

### Link to the blitz that caused the error

https://stackblitz.com/edit/sb1-yz9yvjqu?file=package.json

### Steps to reproduce

Afraid it's just random

### Expected behavior

I can't add this field i'm afriad

### Parity with Local

- [X] I have [run the project in my local machine](https://github.com/stackblitz/webcontainer-core/blob/main/repro.md#try-locally) and I could not reproduce the issue.

### Screenshots

_No response_

### Platform

Browser name = Chrome
Full version = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
performance.memory = {
"totalJSHeapSize": 99400123,
"usedJSHeapSize": 91438719,
"jsHeapSizeLimit": 4294705152
}
Hash = c8c182a3


### Additional context

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions