Skip to content

Commit 1253cd9

Browse files
committed
1 parent 24ae721 commit 1253cd9

4 files changed

Lines changed: 18 additions & 28 deletions

File tree

src/Test/Test.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +0,0 @@
1-
var TestA;
2-
(function (TestA) {
3-
(function (EmployeeType) {
4-
EmployeeType[EmployeeType["Normal"] = 1] = "Normal";
5-
EmployeeType[EmployeeType["Temporary"] = 2] = "Temporary";
6-
})(TestA.EmployeeType || (TestA.EmployeeType = {}));
7-
var EmployeeType = TestA.EmployeeType;
8-
})(TestA || (TestA = {}));
9-
var TestB;
10-
(function (TestB) {
11-
var Strange = (function () {
12-
function Strange() {
13-
this.test = {};
14-
}
15-
return Strange;
16-
}());
17-
TestB.Strange = Strange;
18-
})(TestB || (TestB = {}));

src/Test/project.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@
55
},
66

77
"dependencies": {
8-
"Microsoft.NETCore.App": {
9-
"type": "platform",
10-
"version": "1.0.0"
11-
},
128
"TypeScriptBuilder": "0.1.6" },
139

1410
"frameworks": {
1511
"netcoreapp1.0": {
16-
"imports": "dnxcore50"
12+
"imports": "dnxcore50",
13+
"dependencies": {
14+
"Microsoft.NETCore.App": {
15+
"type": "platform",
16+
"version": "1.0.0"
17+
}
18+
}
19+
},
20+
"net452": {
1721
}
1822
}
1923
}

src/TypeScriptBuilder/Attributes.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ public class TSAny : Attribute
1515
{
1616
}
1717

18-
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct), Obsolete("experimental, known issues")]
18+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct), Obsolete("experimental")]
1919
public class TSClass : Attribute
2020
{
2121
}
2222

23-
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
23+
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property), Obsolete("experimental")]
2424
public class TSInitialize : Attribute
2525
{
2626
public readonly string Body;

src/TypeScriptBuilder/project.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@
1212
},
1313

1414
"dependencies": {
15-
"NETStandard.Library": "1.6.0",
16-
"System.Reflection.TypeExtensions": "4.1.0"
1715
},
1816

1917
"frameworks": {
2018
"netstandard1.6": {
21-
"imports": "dnxcore50"
19+
"imports": "dnxcore50",
20+
"dependencies": {
21+
"NETStandard.Library": "1.6.0",
22+
"System.Reflection.TypeExtensions": "4.1.0"
23+
}
24+
},
25+
"net452": {
2226
}
2327
},
2428

0 commit comments

Comments
 (0)