mirror of https://github.com/grafana/grafana
parent
6e66b2b906
commit
2fec5c7577
@ -0,0 +1 @@ |
||||
export { DeleteButton } from './DeleteButton/DeleteButton'; |
||||
@ -1,26 +1 @@ |
||||
export { Other } from './other'; |
||||
import { TimeSeries } from '../types'; |
||||
|
||||
export class Google { |
||||
data: TimeSeries; |
||||
|
||||
hello() { |
||||
return 'hello'; |
||||
} |
||||
} |
||||
|
||||
class Singleton { |
||||
constructor(private state: string) {} |
||||
|
||||
hello() { |
||||
return this.state; |
||||
} |
||||
|
||||
change() { |
||||
this.state = 'mod2'; |
||||
} |
||||
} |
||||
|
||||
const singletonSrv = new Singleton('hello'); |
||||
|
||||
export { singletonSrv }; |
||||
export * from './components'; |
||||
|
||||
@ -1,5 +0,0 @@ |
||||
export class Other { |
||||
static hello() { |
||||
return "hello from other"; |
||||
} |
||||
} |
||||
@ -1,4 +0,0 @@ |
||||
|
||||
export interface TimeSeries { |
||||
name: string; |
||||
} |
||||
Loading…
Reference in new issue