Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
angular.module('foo').factory('MyModal', function(Modal) {
return class MyModal extends Modal {
constructor(message: string) {
const options = {
height: 400,
width: 600
import {Modal} from './interfaces'
export interface MyModal extends Modal {
new(message: string): this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment