Skip to content

Commit

Permalink
#12
Browse files Browse the repository at this point in the history
  • Loading branch information
pankleks committed Jul 29, 2016
1 parent 24ae721 commit 1253cd9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 28 deletions.
18 changes: 0 additions & 18 deletions src/Test/Test.js
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
var TestA;
(function (TestA) {
(function (EmployeeType) {
EmployeeType[EmployeeType["Normal"] = 1] = "Normal";
EmployeeType[EmployeeType["Temporary"] = 2] = "Temporary";
})(TestA.EmployeeType || (TestA.EmployeeType = {}));
var EmployeeType = TestA.EmployeeType;
})(TestA || (TestA = {}));
var TestB;
(function (TestB) {
var Strange = (function () {
function Strange() {
this.test = {};
}
return Strange;
}());
TestB.Strange = Strange;
})(TestB || (TestB = {}));
14 changes: 9 additions & 5 deletions src/Test/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@
},

"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
},
"TypeScriptBuilder": "0.1.6" },

"frameworks": {
"netcoreapp1.0": {
"imports": "dnxcore50"
"imports": "dnxcore50",
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
}
},
"net452": {
}
}
}
4 changes: 2 additions & 2 deletions src/TypeScriptBuilder/Attributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ public class TSAny : Attribute
{
}

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct), Obsolete("experimental, known issues")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct), Obsolete("experimental")]
public class TSClass : Attribute
{
}

[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property), Obsolete("experimental")]
public class TSInitialize : Attribute
{
public readonly string Body;
Expand Down
10 changes: 7 additions & 3 deletions src/TypeScriptBuilder/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@
},

"dependencies": {
"NETStandard.Library": "1.6.0",
"System.Reflection.TypeExtensions": "4.1.0"
},

"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
"imports": "dnxcore50",
"dependencies": {
"NETStandard.Library": "1.6.0",
"System.Reflection.TypeExtensions": "4.1.0"
}
},
"net452": {
}
},

Expand Down

0 comments on commit 1253cd9

Please sign in to comment.