Comments (5)
I will make a new issue to track that. Will add a -o
option to specify the output.
from tplant.
from tplant.
It does this for a lot of my files. For example this one:
import { Injectable } from '@angular/core';
import * as firebase from "firebase";
@Injectable()
export class AuthJugglerService {
constructor() { }
public switchToGoogleAccount() {
firebase.auth().signOut().then(() => {
console.log('@$ logout successful!');
console.log('@$ currentUser is now: !' + firebase.auth().currentUser);
var provider:any = new firebase.auth.GoogleAuthProvider();
firebase.auth().signInWithRedirect(provider).then((result) => {
// console.log('@$ signin wiht google worked!' + e +', user is: ' + firebase.auth().currentUser.uid);
console.log('@$ signin wiht google worked!' + result.user);
}).catch((e) => {
console.log('@$ signin wiht google failed!' + e);
firebase.auth().signInAnonymously().then((user) => {
console.log('@$ signed in anonymously againQ ' + user.uid);
// console.log('@$ and firebase knows it: ' + firebase.auth().currentUser.uid);
}).catch((e) => {
console.log('@$ signed in anonymously failed ' + e);
})
})
}).catch((e) => {
console.log('@$ anonymous user signout failed!' + e);
});
}
}
from tplant.
I pushed version 1.0.4 which should work for your pasted sample above. There was a rudimentary check in place that was determining which files should be parsed that I updated to ignore any declaration files.
from tplant.
nice! This one works for me!
It's just printing out to the console though. Should I be creating a plantUml file?
It would be awesome if it did. Or maybe another flag that creates the file right next to the specified typescript file. :)
from tplant.
Related Issues (20)
- Problems with composition feature HOT 4
- Can't extends multiple interfaces
- Handle ECONNRESET on image file request. HOT 2
- Unclear license HOT 1
- Problem parsing namespaces HOT 2
- Problem when interfaces are in a different namespace
- Not representing relation when class is in a different namespace HOT 2
- How to use project option? HOT 6
- Not showing all relationships HOT 1
- Add the abbiliy to exclude path
- Support TS Utility Types HOT 2
- Error: read ECONNRESET
- tplant 3.1.0 doesn't support Typescript 4.7's "moduleResolution": "Node16" HOT 2
- Support for type parameters.
- Add support for an !include file (optional) that would have settings HOT 5
- Broken output if multiple exports in same nested file HOT 2
- Put class accessors together with methods
- Error on install "The engine "node" is incompatible with this module. Expected version "^16.0.0". Got "18.16.1" HOT 1
- Error on install "command sh -c node scripts/get-vizjs.js" HOT 2
- +findConfigUpwards(rootDir: string): string HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tplant.