mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
migrate ui-components from flow to typescript
This commit is contained in:
8
scm-ui/ui-components/src/__resources__/HttpServer.js.ts
Normal file
8
scm-ui/ui-components/src/__resources__/HttpServer.js.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export default `var http = require('http');
|
||||
|
||||
http.createServer(function (req, res) {
|
||||
res.writeHead(200, {'Content-Type': 'text/plain'});
|
||||
res.write('Hello World!');
|
||||
res.end();
|
||||
}).listen(8080);
|
||||
`;
|
||||
Reference in New Issue
Block a user