swapped step2-01 to TS focused, and moved onto latest OUFR to take stack from there

This commit is contained in:
Ken
2019-02-15 12:55:21 -08:00
parent c1cac333d8
commit 8e353543d4
28 changed files with 142 additions and 461 deletions
+3
View File
@@ -0,0 +1,3 @@
export default class DefaultClass {
hello = 'world';
}
+14
View File
@@ -0,0 +1,14 @@
import { namedConst, namedFn, namedObj } from './named';
import * as named from './named';
console.log(namedConst);
console.log(namedFn());
console.log(namedObj);
console.log(named.namedConst);
console.log(named.namedFn());
console.log(named.namedObj);
import DefaultClass from './default';
console.log(new DefaultClass().hello);
+9
View File
@@ -0,0 +1,9 @@
export const namedConst = 5;
export function namedFn() {
return 5;
}
export const namedObj = {
hello: 'world'
};