Skip to content

Commit 4ec67d2

Browse files
committed
Output from running the generator app added to web project.
1 parent 545d6dd commit 4ec67d2

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,5 @@ UpgradeLog*.htm
185185

186186
# Microsoft Fakes
187187
FakesAssemblies/
188+
src/TypeScriptSample.Web/App/**/*.js
189+
src/TypeScriptSample.Web/App/**/*.js.map
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
declare module TypeScriptSample.Models {
3+
interface Person {
4+
Name: string;
5+
DateOfBirth: Date;
6+
MaritalStatus: TypeScriptSample.Models.MaritalStatus;
7+
}
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module TypeScriptSample.Models {
2+
export enum MaritalStatus {
3+
Single = 0,
4+
Married = 1,
5+
Divorced = 2,
6+
Separated = 3,
7+
CommonLaw = 4
8+
}
9+
}

src/TypeScriptSample.Web/TypeScriptSample.Web.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@
280280
</ItemGroup>
281281
<ItemGroup>
282282
<TypeScriptCompile Include="App\app.ts" />
283+
<TypeScriptCompile Include="App\server\classes.d.ts" />
284+
<TypeScriptCompile Include="App\server\enums.ts" />
283285
<TypeScriptCompile Include="Scripts\Typings\chartjs\chart.d.ts" />
284286
<TypeScriptCompile Include="Scripts\Typings\durandal\durandal.d.ts" />
285287
<TypeScriptCompile Include="Scripts\Typings\googlemaps\google.maps.d.ts" />

0 commit comments

Comments
 (0)