Giter Site home page Giter Site logo

Comments (5)

pmcalabrese avatar pmcalabrese commented on May 21, 2024 1

same here... when i compile with --aot

[EDIT]
One quick fix (just for releasing) would be comment out in the file markdown-to-html.service.ts the line with ErrorObservable (line 4)
and remove type definition which is really not necessary because implicit on the handError method (line 25)

import { Injectable } from '@angular/core';
import { Http, Response } from '@angular/http';
import { Observable } from 'rxjs/Observable';
// import { ErrorObservable } from 'rxjs/observable/ErrorObservable';

from

handleError(error: Response | any): ErrorObservable<string> {

to

handleError(error: Response | any) {

from ngx-markdown.

jfcere avatar jfcere commented on May 21, 2024 1

I updated Angular-CLI to 1.0.0-beta.32.3 and solved the typing error when compiling with AoT.
Please upgrade to version 0.0.9 to get the fix.

I'll close the issue, don't hesitate to reopen if there is anything!

from ngx-markdown.

jfcere avatar jfcere commented on May 21, 2024

I'll update angular-cli .. I'll come back to you!

from ngx-markdown.

jfcere avatar jfcere commented on May 21, 2024

@pmcalabrese Thx for the insight i'll make the fix tonight

from ngx-markdown.

pmcalabrese avatar pmcalabrese commented on May 21, 2024

@jfcere no problem 👍

from ngx-markdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.