Giter Site home page Giter Site logo

typescriptsamples's Introduction

TypeScript Samples

Most of the samples here will assume that you have TypeScript installed. You can get TypeScript with Visual Studio, NuGet, or with npm:

npm install -g typescript

To compile each sample, cd into the directory and use the tsc command to compile. tsc will use each directory's tsconfig.json to get specific compiler options.

typescriptsamples's People

Contributors

basarat avatar danielrosenwasser avatar fazendaaa avatar gabrieldelepine avatar gabrielsroka avatar getsetbro avatar guybedford avatar isghe avatar jlarky avatar johnnyreilly avatar jrpelkonen avatar lennonjesus avatar louislarry avatar magicarbon avatar mbiernacik avatar mhegazy avatar mii9000 avatar mpacholec avatar paulvanbrenk avatar pdfernhout avatar rbuckton avatar reltre avatar rookieking avatar ryanbraganza avatar ryancavanaugh avatar sparkhom avatar tamascsaba avatar timothy avatar vladima avatar weswigham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

typescriptsamples's Issues

Property 'render' does not exist on type 'typeof __React'

I cloned repository, changed React version in package.json, because in version 0.14.x method render moved to ReactDOM:

// ...
"react": "0.13.3",
// ...

Then:

npm install
node node_modules/typescript/bin/tsc

Error:

src/app.tsx(19,11): error TS2339: Property 'render' does not exist on type 'typeof __React'.

Not able to write Express Web Api using TypeScript.

Hi Team,

We are creating a pure Type Script based Express Seed Project in the following git repository.
https://github.com/natarajanmca11/Express4-Seed.git
Please look at FullTypeScript branch.
The problem is we are not able to create the sub module in type script. We could't utilize the express.d.ts types fully in this application.

Please help us to create the sub module in typescript and how to inject in the main application.

for example,

import {IRoute, RequestHandler}  from 'express';

export class Admin implements IRoute {
    path: string;
    stack: any;
    constructor() {
        this.path = '/api/Admin';
    }
    all(handler: RequestHandler) {
        return <IRoute>this;
    }
    get(handerl: RequestHandler): any {
        return{'Message' : 'all'};
    }
    post(handerl: RequestHandler): any {
        return <IRoute>this;
    }
    put(handerl: RequestHandler): any {
        return <IRoute>this;
    }
    delete(handerl: RequestHandler): any {
        return <IRoute>this;
    }
    patch(handerl: RequestHandler): any {
        return <IRoute>this;
    }
    options(handerl: RequestHandler): any {
        return <IRoute>this;
    }
    head(handerl: RequestHandler): any {
        return <IRoute>this;
    }
}

then inject in to the main application like below...

 self.Express.use(['/adm*n', '/manager'], new Admin());

the above Admin sub module does not throw any compile error but we don't know how to inject in main application.

also I need to replace RequestHandler with (req: Request, res: Response, next: Function): any.

Please guide me to move forward.

Async sample install/test instructions not working

The npm install fails with:

npm ERR! notarget No compatible version found: typescript@'>=1.7.0 <2.0.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.8.0","0.8.1","0.8.1-1","0.8.2","0.8.3","0.9.0","0.9.0-1","0.9.1","0.9.1-1","0.9.5","0.9.7","1.0.0","1.0.1","1.1.0-1","1.3.0","1.4.1","1.5.0-alpha","1.5.0-beta","1.5.3","1.6.0-dev.20150722.1","1.6.0-dev.20150723","1.6.0-dev.20150724","1.6.0-dev.20150725","1.6.0-dev.20150726","1.6.0-dev.20150727","1.6.0-dev.20150728","1.6.0-dev.20150729","1.6.0-dev.20150730","1.6.0-dev.20150731","1.6.0-dev.20150801","1.6.0-dev.20150802","1.6.0-dev.20150803","1.6.0-dev.20150804","1.6.0-dev.20150805","1.6.0-dev.20150806","1.6.0-dev.20150807","1.6.0-dev.20150808","1.6.0-dev.20150809","1.6.0-dev.20150810","1.6.0-dev.20150811","1.6.0-dev.20150812","1.6.0-dev.20150813","1.6.0-dev.20150814","1.6.0-dev.20150815","1.6.0-dev.20150816","1.6.0-dev.20150817","1.6.0-dev.20150818","1.6.0-dev.20150819","1.6.0-dev.20150820","1.6.0-dev.20150821","1.6.0-dev.20150822","1.6.0-dev.20150823","1.6.0-dev.20150824","1.6.0-dev.20150825","1.7.0-dev.20150826","1.7.0-dev.20150827","1.7.0-dev.20150828","1.7.0-dev.20150829","1.7.0-dev.20150830","1.7.0-dev.20150831","1.7.0-dev.20150901","1.7.0-dev.20150902","1.6.0-beta","1.7.0-dev.20150903","1.7.0-dev.20150904","1.6.0-dev.20150905","1.6.0-dev.20150906","1.6.0-dev.20150907","1.6.0-dev.20150908","1.6.0-dev.20150909","1.6.0-dev.20150910","1.6.0-dev.20150911","1.6.0-dev.20150912","1.6.0-dev.20150913","1.6.0-dev.20150914","1.6.0-dev.20150915","1.7.0-dev.20150916","1.6.2","1.7.0-dev.20150917","1.7.0-dev.20150918","1.7.0-dev.20150919","1.7.0-dev.20150920","1.7.0-dev.20150921","1.7.0-dev.20150922","1.7.0-dev.20150923","1.7.0-dev.20150924","1.7.0-dev.20150925","1.7.0-dev.20150926","1.7.0-dev.20150927","1.7.0-dev.20150928","1.7.0-dev.20150929","1.7.0-dev.20150930","1.7.0-dev.20151001"]

After working around that, the npm test fails with:

Executing test...
module.js:338
    throw err;
    ^

Error: Cannot find module '/Users/lukeh/dd/TypeScriptSamples/async/bin/ts-async-github-sample'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:286:25)
    at Function.Module.runMain (module.js:475:10)
    at startup (node.js:117:18)
    at node.js:951:3

There are several references to bin/ts-async-github-sample but that file doesn't appear to exist or be produced anywhere.

/cc @rbuckton

jsx-demo not working

I am trying to find out how to setup a simple Visual Studio 2015 project using TypeScript and React, so that I can just build and run from VS, but I can't seem to find any simple example of this...

So, I then tried to build and run the jsx-demo in this repository, following the instructions in the README.md file, and that didn't work either...

Step 1: npm install
This works but gives 2 warnings:
npm WARN package.json [email protected] license should be a valid SPDX license expression
WARN engine [email protected]: wanted: {"node":">= 0.10.0 <= 0.11.0"} (current: {"node":"4.2.4","npm":"2.14.12"})

Step 2: node node_modules/typescript/bin/tsc
This gives the following error:
src/app.tsx(19,11): error TS2339: Property 'render' does not exist on type 'typeof __React'.

Side note: if you could (please!) create a very simple Visual Studio 2015 (CE) project using TypeScript and React, that builds and runs out-of-the-box, that would be very helpful! Right now, I find it too difficult to get started quickly.

imageboard demo hangs, crashes

just as an FYI the demo is a bit confusing...

i installed, compiled, ran the imageboard demo app
restored the db dump and we seem to have content there:
image

BUT
http://localhost:3000/

all seems extremely slow (I thought it was broken but left for awhile eventually get a response)
no watch pictures show.

A good example of how to get going with ts and a recent express simple app would be great to have!

Replace alert() with console.log()

Hi there,

In some of the samples, alert() is used for printing debugging info. Would it be better to replace such statements with console.log?

I'm happy to raise a pull request for some of the changes I've made while trying out the samples on my machine.

Thanks
Param

Update mankala sample

With current compilation instruction using tsc version 1.5.0-beta

tsc Driver.ts --sourcemap -out game.js

we got a compiler error

Game.ts(36,13): error TS2339: Property 'onresize' does not exist on type 'HTMLElement'.

This error may be a change in lib.d.ts we recently made

Making use of git submodules

Could we make use of submodules? When you want to clone an example you have to clone all the examples at the moment. If submodules were used you would have to option to either
a. Clone all the projects using git clone --recursive
b. Clone just one project

Imageboard app crashes when adding a new image to an imageboard

From #57 (comment)

When I try to add a new Image the app crash with the following error:

{ result: { ok: 1, n: 1 },
  ops: 
   [ { user: 'lukeh',
       caption: 'COOL',
       imageUri: 'http://ansolas.de/assets/image/logo.svg',
       link: 'http://ansolas.de/assets/image/logo.svg',
       board: 'Flowers That I like',
       comments: [],
       _id: 564c4e1f903c20190471112f } ],
  insertedCount: 1,
  insertedIds: [ 564c4e1f903c20190471112f ] }
[TypeError: Cannot read property '_id' of undefined]

demo: browserify is not working now.

I had followd the step in the README.md.

....
D:\TypeScriptSamples\browserify>npm run tsc

[email protected] tsc D:\TypeScriptSamples\browserify
node node_modules/typescript/bin/tsc.js

module.js:338
throw err;
^

Error: Cannot find module 'D:\TypeScriptSamples\browserify\node_modules\typescript\bin\tsc.js'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:286:25)
at Function.Module.runMain (module.js:475:10)
at startup (node.js:117:18)
at node.js:951:3

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "tsc"
npm ERR! node v4.1.1
npm ERR! npm v2.14.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] tsc: node node_modules/typescript/bin/tsc.js
npm ERR! Exit status 1

Some issues getting the Angula2 sample to work

First I tried what the Readme files tell me to

npm install

OK

But then when I try this:

node node_modules/typescript/bin/tsc.js

I get this:

"Error cannot fin module ./pathtorrepo/angular2/node node_modules/typescript/bin/tsc.js"

So I check the folder and the file there has no .js extension so I tried without the ".js" and now I get a ton of compile errors, because tsc is now trying to compile itself in the node_modules folder, so I added "exclude": ["node_modules"] to tsconfig.json so I don't get any errors. So now I go on an try to run it and all I get in the browser is "loading..." and this error in the console:

"Potentially unhandled rejection [3] Error loading "todo" at https://registry.jspm.io/todo.js Not Found: https://registry.jspm.io/todo.js (WARNING: non-Error used)"1 [email protected]:1:2570 [4]</</</</c<() [email protected]:1 i() [email protected]:1 u() [email protected]:1
So after a long time trying to find out what the error was, checking out the jspmUpdate branch and trying many other things I found out that it works in Chrome and in Edge but not in Firefox (in either the developers edition, nor the stable versions). So could you guys either make it work on Firefox or at least write in the Readme that it doesn't work there so other people that use it as their default browser don't have to scratch their head as I did. Ah, and can you fix the .js ending thing as well as the tsconfig.json issues ?

Why are there inconsistencies with "req" and "res"?

In index.ts the req and res objects have their type specified.

export function index(req: express.Request, res: express.Response) { };

But in app.ts they're missing.

app.get('/user/:userid', (req, res) => { };

I'm in the process of converting an ES6 Express API to TypeScript and was wondering if there is a reason for this.

improve ES6 import syntax

It's a feature request issue about fixing traditional import syntax for ES6.
I think it would be better for developers and the editors auto-completion mechanism to transform original import syntax from:
import { ComponentName } from 'path/to/module';
to
from 'path/to/module' import { ComponentName }
or something like that which improves auto-completion results.

TypeScriptSamples\node question

F:\TypeScriptTest\TypeScriptSamples\node>tsc --sourcemap --module commonjs HttpServer.ts node HttpServer.js
error TS6054: File 'HttpServer.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.

???

requiring exported classes

Hey, i'm looking for a sample which imports classes from separated files.
When i do:

export class MyClass {
    constructor() {
    }
}

And then in another file:

import MyClass = require('./path/to/classes/MyClass')

To create an instance of MyClass, I need to call

new MyClass.MyClass()

And not simply new MyClass().
Is there any way to fix this?

Thanks in advance

error TS5023: Unknown option 'watch' - error TS5007: Cannot resolve referenced file: 'app'.

I have executed the setup

npm install typescript -g
npm install tsd -g

everything went well until I executed the tsc --watch --p app.

$ tsc --watch --p app
error TS5023: Unknown option 'watch'
Use the '--help' flag to see options.
error TS5023: Unknown option 'p'
Use the '--help' flag to see options.
error TS5007: Cannot resolve referenced file: 'app'.

the same error occurs with tsc --watch --p e2e-tests

$ tsc --watch --p e2e-tests
error TS5023: Unknown option 'watch'
Use the '--help' flag to see options.
error TS5023: Unknown option 'p'
Use the '--help' flag to see options.
error TS5007: Cannot resolve referenced file: 'e2e-tests'.

thank you in advance for your help

More guidance on how to make samples work

Right now I wished to try the ray tracer sample. I've little experience with most of the web stuff here outside of basic ES6 javascript and html. I've cloned the whole repo and opened the folder in VS Code.

However, I can't locate a means of running the sample I want or setting up the dependencies. I found some instructions in Browserify but I'm missing package.json on the second step.

This tells me I've clearly missed some fundamental basics but there is nothing indicating how to go from minimal knowledge to making these run.

Help?

error TS2307: Cannot find module 'fs'.

I'm running 1.6.2 and I've got the code
/// <reference path="typings/node/node.d.ts" /> and import * as fs from "fs";
My IDE is comfortable with the module definitions and the file compiles but I get errors from the compiler for the node related references;
error TS2307: Cannot find module 'fs'. and
error TS2304: Cannot find name 'process'.
I have a tsconfig.json file that defines the commonjs module style.

Is this expected behaviour or am I missing something? How do I get rid of the errors?

Typescript samples website incorrect information

Just noticed that the Typescript website contains an incorrect note (typo?) about the d3 Typescript sample that says:

Notable features include:
Typed usage of D3
Use of the DOM Canvas

Perhaps at some point the sample used Canvas, but at the present time, it uses only SVG.

Very minor issue, and I realize that the website for these samples is not actually located in this repo, so please let me know if issues for the Typescript samples website itself should be filed elsewhere.

Angular2 todo project npm error

What's wrong with angular2 project?

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.2.1
npm ERR! npm  v3.9.3

npm ERR! Invalid name: "@reactivex/rxjs"
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

Mongo adaptor does not work with latest version under Windows

When trying to connect to a running mongo server using

        var server = new mongodb.Server(serverName, port, {auto_reconnect: true}, {});
        var db = new mongodb.Db('...', server);
        db.open(function() {});

The following status is output, and no connection can be held on the server

========================================================================================
=  Please ensure that you set the default write concern for the database by setting    =
=   one of the options                                                                 =
=                                                                                      =
=     w: (value of > -1 or the string 'majority'), where < 1 means                     =
=        no write acknowledgement                                                       =
=     journal: true/false, wait for flush to journal before acknowledgement             =
=     fsync: true/false, wait for flush to file system before acknowledgement           =
=                                                                                      =
=  For backward compatibility safe is still supported and                              =
=   allows values of [true | false | {j:true} | {w:n, wtimeout:n} | {fsync:true}]      =
=   the default value is false which means the driver receives does not                =
=   return the information of the success/error of the insert/update/remove            =
=                                                                                      =
=   ex: new Db(new Server('localhost', 27017), {safe:false})                           =
=                                                                                      =
=   http://www.mongodb.org/display/DOCS/getLastError+Command                           =
=                                                                                      =
=  The default of no acknowledgement will change in the very near future                =
=                                                                                      =
=  This message will disappear when the default safe is set on the driver Db           =
========================================================================================

i can't run amd sample

I can't run amd sample

because default.htm not use any js file.

can you help me? thank you

imageboard: TypeError: Property 'engine' of object #<View> is not a function

Hi,
I had to remove >= from the package.json in order to get rid off this error:

$ mongod --dbpath /home/u/databases
$ npm install
$ tsc --sourcemap --module commonjs app.ts
$ node app.js                             
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
========================================================================================
=  Please ensure that you set the default write concern for the database by setting    =
=   one of the options                                                                 =
=                                                                                      =
=     w: (value of > -1 or the string 'majority'), where < 1 means                     =
=        no write acknowledgement                                                       =
=     journal: true/false, wait for flush to journal before acknowledgement             =
=     fsync: true/false, wait for flush to file system before acknowledgement           =
=                                                                                      =
=  For backward compatibility safe is still supported and                              =
=   allows values of [true | false | {j:true} | {w:n, wtimeout:n} | {fsync:true}]      =
=   the default value is false which means the driver receives does not                =
=   return the information of the success/error of the insert/update/remove            =
=                                                                                      =
=   ex: new Db(new Server('localhost', 27017), {safe:false})                           =
=                                                                                      =
=   http://www.mongodb.org/display/DOCS/getLastError+Command                           =
=                                                                                      =
=  The default of no acknowledgement will change in the very near future                =
=                                                                                      =
=  This message will disappear when the default safe is set on the driver Db           =
========================================================================================

/home/u/tmp/TypeScriptSamples/imageboard/app.js:9
app.configure(function () {
    ^
TypeError: Object function (req, res, next) {
    app.handle(req, res, next);
  } has no method 'configure'
    at Object.<anonymous> (/home/u/tmp/TypeScriptSamples/imageboard/app.js:9:5)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3

However, now I get a new error:

$ node app.js
Demo Express server listening on port 3000 in development mode
[]
TypeError: Property 'engine' of object #<View> is not a function
    at View.render (/home/u/tmp/TypeScriptSamples/imageboard/node_modules/express/lib/view.js:75:8)
    at Function.app.render (/home/u/tmp/TypeScriptSamples/imageboard/node_modules/express/lib/application.js:505:10)
    at ServerResponse.res.render (/home/u/tmp/TypeScriptSamples/imageboard/node_modules/express/lib/response.js:717:7)
    at /home/u/tmp/TypeScriptSamples/imageboard/routes/index.js:5:13
    at /home/u/tmp/TypeScriptSamples/imageboard/db.js:34:13
    at /home/u/tmp/TypeScriptSamples/imageboard/node_modules/mongodb/lib/mongodb/cursor.js:129:9
    at /home/u/tmp/TypeScriptSamples/imageboard/node_modules/mongodb/lib/mongodb/cursor.js:171:11
    at /home/u/tmp/TypeScriptSamples/imageboard/node_modules/mongodb/lib/mongodb/cursor.js:463:35
    at Cursor.close (/home/u/tmp/TypeScriptSamples/imageboard/node_modules/mongodb/lib/mongodb/cursor.js:682:5)
    at Cursor.nextObject (/home/u/tmp/TypeScriptSamples/imageboard/node_modules/mongodb/lib/mongodb/cursor.js:463:17)

How is it possible resolve the above TypeError?

Thank you in advance.

How is "initialize" used?

https://github.com/Microsoft/TypeScriptSamples/blob/master/todomvc/js/todos.ts#L131-L135

        // Ensure that each todo created has `content`.
    initialize() {
        if (!this.get("content")) {
            this.set({ "content": this.defaults().content });
        }
    }

How/where is this called? My preference for a todo example is for stuff like this to be explicit or commented-- I am looking at this repo precisely because I'm not familiar with typescript, so I'm not sure if it's a typescript thing, a backbone thing (if so why isn't it in the Backbone.Model ts def?). Thanks!

ES6 + TypeScript + Babel + React + Karma

Hi @mhegazy,

As discussed I've put together a demo of how to use TypeScript for type checking and use something else (in this case Babel) to handle transpilation to ES5:

https://github.com/johnnyreilly/ES6-TypeScript-Babel-React-Karma

It also uses JSX / React (the JSX is also transpiled by Babel) and has Jasmine unit tests (both TS and TSX) with a runner set up that uses Karma. It's all powered by webpack and leans heavily on @jbrantly's ts-loader. It has sourcemaps to spare which makes debugging in Chrome a pretty sweet experience.

You're very welcome to have this (or a further cutdown version) for the TypeScript samples. Let me know and I'll submit a PR. I'm intending to blog about this at some point as well - it took a while to get everything working as I wanted it to and I figure it could be useful to others.

The one caveat (and it seems fairly important) is that it doesn't seem to play too well inside Visual Studio! I'm guessing this is related to microsoft/TypeScript#3949 but I haven't had chance to investigate.

Angular2: Failed at the [email protected] start script

I have executed the setup:

npm install
npm start

Then an issue occured. I have uploaded the log file

> [email protected] start C:\TypeScriptSamples\angular2
> node node_modules/typescript/lib/tsc.js && node node_modules/http-server/bin/http-server -o

node_modules/angular2/src/core/facade/promise.d.ts(1,10): error TS2661: Cannot re-export name that is not defined in the module.

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\app\\nodejs\\node.exe" "C:\\app\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v4.0.0
npm ERR! npm  v2.14.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node node_modules/typescript/lib/tsc.js && node node_modules/http-server/bin/http-server -o`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script 'node node_modules/typescript/lib/tsc.js && node node_modules/http-server/bin/http-server -o'.
npm ERR! This is most likely a problem with the typescript-angular2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node node_modules/typescript/lib/tsc.js && node node_modules/http-server/bin/http-server -o
npm ERR! You can get their info via:
npm ERR!     npm owner ls typescript-angular2
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\TypeScriptSamples\angular2\npm-debug.log

npm-debug.log.txt

Thank you in advance for your help

Abdelkrim

Adding csproj to the react-flux-babel-karma

Heya,

Someone asked me a while ago to add a csproj to this project so if they want to use Visual Studio as their editor they can without fiddling with setup themselves. Apparently the advice currently in place is slightly problematic. I'm up for doing the work but I thought I'd check first if you were likely to take the PR?

I'd probably use this as a basis for plugging Visual Studio into the mix:

https://github.com/johnnyreilly/poorclaresarundel/tree/master/PoorClaresAngular

I'm using this approach demonstrated in this repo commercially so I'm fairly happy it's battle tested.

But as I say, your call if you want it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.